Documentation ¶
Overview ¶
A Pulumi package for creating and managing pagerduty cloud resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type Addon
- type AddonArgs
- type AddonArray
- type AddonArrayInput
- type AddonArrayOutput
- type AddonInput
- type AddonMap
- type AddonMapInput
- type AddonMapOutput
- type AddonOutput
- func (AddonOutput) ElementType() reflect.Type
- func (o AddonOutput) ToAddonOutput() AddonOutput
- func (o AddonOutput) ToAddonOutputWithContext(ctx context.Context) AddonOutput
- func (o AddonOutput) ToAddonPtrOutput() AddonPtrOutput
- func (o AddonOutput) ToAddonPtrOutputWithContext(ctx context.Context) AddonPtrOutput
- type AddonPtrInput
- type AddonPtrOutput
- type AddonState
- type BusinessService
- func (*BusinessService) ElementType() reflect.Type
- func (i *BusinessService) ToBusinessServiceOutput() BusinessServiceOutput
- func (i *BusinessService) ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput
- func (i *BusinessService) ToBusinessServicePtrOutput() BusinessServicePtrOutput
- func (i *BusinessService) ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput
- type BusinessServiceArgs
- type BusinessServiceArray
- type BusinessServiceArrayInput
- type BusinessServiceArrayOutput
- func (BusinessServiceArrayOutput) ElementType() reflect.Type
- func (o BusinessServiceArrayOutput) Index(i pulumi.IntInput) BusinessServiceOutput
- func (o BusinessServiceArrayOutput) ToBusinessServiceArrayOutput() BusinessServiceArrayOutput
- func (o BusinessServiceArrayOutput) ToBusinessServiceArrayOutputWithContext(ctx context.Context) BusinessServiceArrayOutput
- type BusinessServiceInput
- type BusinessServiceMap
- type BusinessServiceMapInput
- type BusinessServiceMapOutput
- func (BusinessServiceMapOutput) ElementType() reflect.Type
- func (o BusinessServiceMapOutput) MapIndex(k pulumi.StringInput) BusinessServiceOutput
- func (o BusinessServiceMapOutput) ToBusinessServiceMapOutput() BusinessServiceMapOutput
- func (o BusinessServiceMapOutput) ToBusinessServiceMapOutputWithContext(ctx context.Context) BusinessServiceMapOutput
- type BusinessServiceOutput
- func (BusinessServiceOutput) ElementType() reflect.Type
- func (o BusinessServiceOutput) ToBusinessServiceOutput() BusinessServiceOutput
- func (o BusinessServiceOutput) ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput
- func (o BusinessServiceOutput) ToBusinessServicePtrOutput() BusinessServicePtrOutput
- func (o BusinessServiceOutput) ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput
- type BusinessServicePtrInput
- type BusinessServicePtrOutput
- type BusinessServiceState
- type EscalationPolicy
- func (*EscalationPolicy) ElementType() reflect.Type
- func (i *EscalationPolicy) ToEscalationPolicyOutput() EscalationPolicyOutput
- func (i *EscalationPolicy) ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput
- func (i *EscalationPolicy) ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput
- func (i *EscalationPolicy) ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput
- type EscalationPolicyArgs
- type EscalationPolicyArray
- type EscalationPolicyArrayInput
- type EscalationPolicyArrayOutput
- func (EscalationPolicyArrayOutput) ElementType() reflect.Type
- func (o EscalationPolicyArrayOutput) Index(i pulumi.IntInput) EscalationPolicyOutput
- func (o EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutput() EscalationPolicyArrayOutput
- func (o EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutputWithContext(ctx context.Context) EscalationPolicyArrayOutput
- type EscalationPolicyInput
- type EscalationPolicyMap
- type EscalationPolicyMapInput
- type EscalationPolicyMapOutput
- func (EscalationPolicyMapOutput) ElementType() reflect.Type
- func (o EscalationPolicyMapOutput) MapIndex(k pulumi.StringInput) EscalationPolicyOutput
- func (o EscalationPolicyMapOutput) ToEscalationPolicyMapOutput() EscalationPolicyMapOutput
- func (o EscalationPolicyMapOutput) ToEscalationPolicyMapOutputWithContext(ctx context.Context) EscalationPolicyMapOutput
- type EscalationPolicyOutput
- func (EscalationPolicyOutput) ElementType() reflect.Type
- func (o EscalationPolicyOutput) ToEscalationPolicyOutput() EscalationPolicyOutput
- func (o EscalationPolicyOutput) ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput
- func (o EscalationPolicyOutput) ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput
- func (o EscalationPolicyOutput) ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput
- type EscalationPolicyPtrInput
- type EscalationPolicyPtrOutput
- type EscalationPolicyRule
- type EscalationPolicyRuleArgs
- type EscalationPolicyRuleArray
- type EscalationPolicyRuleArrayInput
- type EscalationPolicyRuleArrayOutput
- func (EscalationPolicyRuleArrayOutput) ElementType() reflect.Type
- func (o EscalationPolicyRuleArrayOutput) Index(i pulumi.IntInput) EscalationPolicyRuleOutput
- func (o EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutput() EscalationPolicyRuleArrayOutput
- func (o EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleArrayOutput
- type EscalationPolicyRuleInput
- type EscalationPolicyRuleOutput
- func (EscalationPolicyRuleOutput) ElementType() reflect.Type
- func (o EscalationPolicyRuleOutput) EscalationDelayInMinutes() pulumi.IntOutput
- func (o EscalationPolicyRuleOutput) Id() pulumi.StringPtrOutput
- func (o EscalationPolicyRuleOutput) Targets() EscalationPolicyRuleTargetArrayOutput
- func (o EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutput() EscalationPolicyRuleOutput
- func (o EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutputWithContext(ctx context.Context) EscalationPolicyRuleOutput
- type EscalationPolicyRuleTarget
- type EscalationPolicyRuleTargetArgs
- func (EscalationPolicyRuleTargetArgs) ElementType() reflect.Type
- func (i EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutput() EscalationPolicyRuleTargetOutput
- func (i EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetOutput
- type EscalationPolicyRuleTargetArray
- func (EscalationPolicyRuleTargetArray) ElementType() reflect.Type
- func (i EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutput() EscalationPolicyRuleTargetArrayOutput
- func (i EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetArrayOutput
- type EscalationPolicyRuleTargetArrayInput
- type EscalationPolicyRuleTargetArrayOutput
- func (EscalationPolicyRuleTargetArrayOutput) ElementType() reflect.Type
- func (o EscalationPolicyRuleTargetArrayOutput) Index(i pulumi.IntInput) EscalationPolicyRuleTargetOutput
- func (o EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutput() EscalationPolicyRuleTargetArrayOutput
- func (o EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetArrayOutput
- type EscalationPolicyRuleTargetInput
- type EscalationPolicyRuleTargetOutput
- func (EscalationPolicyRuleTargetOutput) ElementType() reflect.Type
- func (o EscalationPolicyRuleTargetOutput) Id() pulumi.StringOutput
- func (o EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutput() EscalationPolicyRuleTargetOutput
- func (o EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetOutput
- func (o EscalationPolicyRuleTargetOutput) Type() pulumi.StringPtrOutput
- type EscalationPolicyState
- type EventRule
- func (*EventRule) ElementType() reflect.Type
- func (i *EventRule) ToEventRuleOutput() EventRuleOutput
- func (i *EventRule) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
- func (i *EventRule) ToEventRulePtrOutput() EventRulePtrOutput
- func (i *EventRule) ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput
- type EventRuleArgs
- type EventRuleArray
- type EventRuleArrayInput
- type EventRuleArrayOutput
- func (EventRuleArrayOutput) ElementType() reflect.Type
- func (o EventRuleArrayOutput) Index(i pulumi.IntInput) EventRuleOutput
- func (o EventRuleArrayOutput) ToEventRuleArrayOutput() EventRuleArrayOutput
- func (o EventRuleArrayOutput) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput
- type EventRuleInput
- type EventRuleMap
- type EventRuleMapInput
- type EventRuleMapOutput
- type EventRuleOutput
- func (EventRuleOutput) ElementType() reflect.Type
- func (o EventRuleOutput) ToEventRuleOutput() EventRuleOutput
- func (o EventRuleOutput) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
- func (o EventRuleOutput) ToEventRulePtrOutput() EventRulePtrOutput
- func (o EventRuleOutput) ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput
- type EventRulePtrInput
- type EventRulePtrOutput
- type EventRuleState
- type Extension
- func (*Extension) ElementType() reflect.Type
- func (i *Extension) ToExtensionOutput() ExtensionOutput
- func (i *Extension) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput
- func (i *Extension) ToExtensionPtrOutput() ExtensionPtrOutput
- func (i *Extension) ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput
- type ExtensionArgs
- type ExtensionArray
- type ExtensionArrayInput
- type ExtensionArrayOutput
- func (ExtensionArrayOutput) ElementType() reflect.Type
- func (o ExtensionArrayOutput) Index(i pulumi.IntInput) ExtensionOutput
- func (o ExtensionArrayOutput) ToExtensionArrayOutput() ExtensionArrayOutput
- func (o ExtensionArrayOutput) ToExtensionArrayOutputWithContext(ctx context.Context) ExtensionArrayOutput
- type ExtensionInput
- type ExtensionMap
- type ExtensionMapInput
- type ExtensionMapOutput
- type ExtensionOutput
- func (ExtensionOutput) ElementType() reflect.Type
- func (o ExtensionOutput) ToExtensionOutput() ExtensionOutput
- func (o ExtensionOutput) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput
- func (o ExtensionOutput) ToExtensionPtrOutput() ExtensionPtrOutput
- func (o ExtensionOutput) ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput
- type ExtensionPtrInput
- type ExtensionPtrOutput
- type ExtensionServiceNow
- func (*ExtensionServiceNow) ElementType() reflect.Type
- func (i *ExtensionServiceNow) ToExtensionServiceNowOutput() ExtensionServiceNowOutput
- func (i *ExtensionServiceNow) ToExtensionServiceNowOutputWithContext(ctx context.Context) ExtensionServiceNowOutput
- func (i *ExtensionServiceNow) ToExtensionServiceNowPtrOutput() ExtensionServiceNowPtrOutput
- func (i *ExtensionServiceNow) ToExtensionServiceNowPtrOutputWithContext(ctx context.Context) ExtensionServiceNowPtrOutput
- type ExtensionServiceNowArgs
- type ExtensionServiceNowArray
- type ExtensionServiceNowArrayInput
- type ExtensionServiceNowArrayOutput
- func (ExtensionServiceNowArrayOutput) ElementType() reflect.Type
- func (o ExtensionServiceNowArrayOutput) Index(i pulumi.IntInput) ExtensionServiceNowOutput
- func (o ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutput() ExtensionServiceNowArrayOutput
- func (o ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutputWithContext(ctx context.Context) ExtensionServiceNowArrayOutput
- type ExtensionServiceNowInput
- type ExtensionServiceNowMap
- type ExtensionServiceNowMapInput
- type ExtensionServiceNowMapOutput
- func (ExtensionServiceNowMapOutput) ElementType() reflect.Type
- func (o ExtensionServiceNowMapOutput) MapIndex(k pulumi.StringInput) ExtensionServiceNowOutput
- func (o ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutput() ExtensionServiceNowMapOutput
- func (o ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutputWithContext(ctx context.Context) ExtensionServiceNowMapOutput
- type ExtensionServiceNowOutput
- func (ExtensionServiceNowOutput) ElementType() reflect.Type
- func (o ExtensionServiceNowOutput) ToExtensionServiceNowOutput() ExtensionServiceNowOutput
- func (o ExtensionServiceNowOutput) ToExtensionServiceNowOutputWithContext(ctx context.Context) ExtensionServiceNowOutput
- func (o ExtensionServiceNowOutput) ToExtensionServiceNowPtrOutput() ExtensionServiceNowPtrOutput
- func (o ExtensionServiceNowOutput) ToExtensionServiceNowPtrOutputWithContext(ctx context.Context) ExtensionServiceNowPtrOutput
- type ExtensionServiceNowPtrInput
- type ExtensionServiceNowPtrOutput
- type ExtensionServiceNowState
- type ExtensionState
- type GetExtensionSchemaArgs
- type GetExtensionSchemaResult
- type GetPriorityArgs
- type GetPriorityResult
- type GetVendorArgs
- type GetVendorResult
- type LookupBusinessServiceArgs
- type LookupBusinessServiceResult
- type LookupEscalationPolicyArgs
- type LookupEscalationPolicyResult
- type LookupRulesetArgs
- type LookupRulesetResult
- type LookupScheduleArgs
- type LookupScheduleResult
- type LookupServiceArgs
- type LookupServiceIntegrationArgs
- type LookupServiceIntegrationResult
- type LookupServiceResult
- type LookupTeamArgs
- type LookupTeamResult
- type LookupUserArgs
- type LookupUserContactMethodArgs
- type LookupUserContactMethodResult
- type LookupUserResult
- type MaintenanceWindow
- func (*MaintenanceWindow) ElementType() reflect.Type
- func (i *MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput
- func (i *MaintenanceWindow) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
- func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
- func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput
- type MaintenanceWindowArgs
- type MaintenanceWindowArray
- type MaintenanceWindowArrayInput
- type MaintenanceWindowArrayOutput
- func (MaintenanceWindowArrayOutput) ElementType() reflect.Type
- func (o MaintenanceWindowArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowOutput
- func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput
- func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput
- type MaintenanceWindowInput
- type MaintenanceWindowMap
- type MaintenanceWindowMapInput
- type MaintenanceWindowMapOutput
- func (MaintenanceWindowMapOutput) ElementType() reflect.Type
- func (o MaintenanceWindowMapOutput) MapIndex(k pulumi.StringInput) MaintenanceWindowOutput
- func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput
- func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput
- type MaintenanceWindowOutput
- func (MaintenanceWindowOutput) ElementType() reflect.Type
- func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput
- func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
- func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
- func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput
- type MaintenanceWindowPtrInput
- type MaintenanceWindowPtrOutput
- type MaintenanceWindowState
- type Provider
- func (*Provider) ElementType() reflect.Type
- func (i *Provider) ToProviderOutput() ProviderOutput
- func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
- func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
- func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
- type ProviderPtrInput
- type ProviderPtrOutput
- type ResponsePlay
- func (*ResponsePlay) ElementType() reflect.Type
- func (i *ResponsePlay) ToResponsePlayOutput() ResponsePlayOutput
- func (i *ResponsePlay) ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput
- func (i *ResponsePlay) ToResponsePlayPtrOutput() ResponsePlayPtrOutput
- func (i *ResponsePlay) ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput
- type ResponsePlayArgs
- type ResponsePlayArray
- type ResponsePlayArrayInput
- type ResponsePlayArrayOutput
- func (ResponsePlayArrayOutput) ElementType() reflect.Type
- func (o ResponsePlayArrayOutput) Index(i pulumi.IntInput) ResponsePlayOutput
- func (o ResponsePlayArrayOutput) ToResponsePlayArrayOutput() ResponsePlayArrayOutput
- func (o ResponsePlayArrayOutput) ToResponsePlayArrayOutputWithContext(ctx context.Context) ResponsePlayArrayOutput
- type ResponsePlayInput
- type ResponsePlayMap
- type ResponsePlayMapInput
- type ResponsePlayMapOutput
- func (ResponsePlayMapOutput) ElementType() reflect.Type
- func (o ResponsePlayMapOutput) MapIndex(k pulumi.StringInput) ResponsePlayOutput
- func (o ResponsePlayMapOutput) ToResponsePlayMapOutput() ResponsePlayMapOutput
- func (o ResponsePlayMapOutput) ToResponsePlayMapOutputWithContext(ctx context.Context) ResponsePlayMapOutput
- type ResponsePlayOutput
- func (ResponsePlayOutput) ElementType() reflect.Type
- func (o ResponsePlayOutput) ToResponsePlayOutput() ResponsePlayOutput
- func (o ResponsePlayOutput) ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput
- func (o ResponsePlayOutput) ToResponsePlayPtrOutput() ResponsePlayPtrOutput
- func (o ResponsePlayOutput) ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput
- type ResponsePlayPtrInput
- type ResponsePlayPtrOutput
- type ResponsePlayResponder
- type ResponsePlayResponderArgs
- type ResponsePlayResponderArray
- func (ResponsePlayResponderArray) ElementType() reflect.Type
- func (i ResponsePlayResponderArray) ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput
- func (i ResponsePlayResponderArray) ToResponsePlayResponderArrayOutputWithContext(ctx context.Context) ResponsePlayResponderArrayOutput
- type ResponsePlayResponderArrayInput
- type ResponsePlayResponderArrayOutput
- func (ResponsePlayResponderArrayOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderArrayOutput) Index(i pulumi.IntInput) ResponsePlayResponderOutput
- func (o ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput
- func (o ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutputWithContext(ctx context.Context) ResponsePlayResponderArrayOutput
- type ResponsePlayResponderEscalationRule
- type ResponsePlayResponderEscalationRuleArgs
- func (ResponsePlayResponderEscalationRuleArgs) ElementType() reflect.Type
- func (i ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput
- func (i ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleOutput
- type ResponsePlayResponderEscalationRuleArray
- func (ResponsePlayResponderEscalationRuleArray) ElementType() reflect.Type
- func (i ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput
- func (i ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleArrayOutput
- type ResponsePlayResponderEscalationRuleArrayInput
- type ResponsePlayResponderEscalationRuleArrayOutput
- func (ResponsePlayResponderEscalationRuleArrayOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderEscalationRuleArrayOutput) Index(i pulumi.IntInput) ResponsePlayResponderEscalationRuleOutput
- func (o ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput
- func (o ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleArrayOutput
- type ResponsePlayResponderEscalationRuleInput
- type ResponsePlayResponderEscalationRuleOutput
- func (ResponsePlayResponderEscalationRuleOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderEscalationRuleOutput) EscalationDelayInMinutes() pulumi.IntPtrOutput
- func (o ResponsePlayResponderEscalationRuleOutput) Id() pulumi.StringPtrOutput
- func (o ResponsePlayResponderEscalationRuleOutput) Targets() ResponsePlayResponderEscalationRuleTargetArrayOutput
- func (o ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput
- func (o ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleOutput
- type ResponsePlayResponderEscalationRuleTarget
- type ResponsePlayResponderEscalationRuleTargetArgs
- func (ResponsePlayResponderEscalationRuleTargetArgs) ElementType() reflect.Type
- func (i ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput
- func (i ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetOutput
- type ResponsePlayResponderEscalationRuleTargetArray
- func (ResponsePlayResponderEscalationRuleTargetArray) ElementType() reflect.Type
- func (i ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutput() ResponsePlayResponderEscalationRuleTargetArrayOutput
- func (i ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput
- type ResponsePlayResponderEscalationRuleTargetArrayInput
- type ResponsePlayResponderEscalationRuleTargetArrayOutput
- func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderEscalationRuleTargetArrayOutput) Index(i pulumi.IntInput) ResponsePlayResponderEscalationRuleTargetOutput
- func (o ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutput() ResponsePlayResponderEscalationRuleTargetArrayOutput
- func (o ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput
- type ResponsePlayResponderEscalationRuleTargetInput
- type ResponsePlayResponderEscalationRuleTargetOutput
- func (ResponsePlayResponderEscalationRuleTargetOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderEscalationRuleTargetOutput) Id() pulumi.StringPtrOutput
- func (o ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput
- func (o ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetOutput
- func (o ResponsePlayResponderEscalationRuleTargetOutput) Type() pulumi.StringPtrOutput
- type ResponsePlayResponderInput
- type ResponsePlayResponderOutput
- func (o ResponsePlayResponderOutput) Description() pulumi.StringPtrOutput
- func (ResponsePlayResponderOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderOutput) EscalationRules() ResponsePlayResponderEscalationRuleArrayOutput
- func (o ResponsePlayResponderOutput) Id() pulumi.StringPtrOutput
- func (o ResponsePlayResponderOutput) Name() pulumi.StringPtrOutput
- func (o ResponsePlayResponderOutput) NumLoops() pulumi.IntPtrOutput
- func (o ResponsePlayResponderOutput) OnCallHandoffNotifications() pulumi.StringPtrOutput
- func (o ResponsePlayResponderOutput) Services() ResponsePlayResponderServiceArrayOutput
- func (o ResponsePlayResponderOutput) Teams() ResponsePlayResponderTeamArrayOutput
- func (o ResponsePlayResponderOutput) ToResponsePlayResponderOutput() ResponsePlayResponderOutput
- func (o ResponsePlayResponderOutput) ToResponsePlayResponderOutputWithContext(ctx context.Context) ResponsePlayResponderOutput
- func (o ResponsePlayResponderOutput) Type() pulumi.StringPtrOutput
- type ResponsePlayResponderService
- type ResponsePlayResponderServiceArgs
- func (ResponsePlayResponderServiceArgs) ElementType() reflect.Type
- func (i ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput
- func (i ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutputWithContext(ctx context.Context) ResponsePlayResponderServiceOutput
- type ResponsePlayResponderServiceArray
- func (ResponsePlayResponderServiceArray) ElementType() reflect.Type
- func (i ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput
- func (i ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutputWithContext(ctx context.Context) ResponsePlayResponderServiceArrayOutput
- type ResponsePlayResponderServiceArrayInput
- type ResponsePlayResponderServiceArrayOutput
- func (ResponsePlayResponderServiceArrayOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderServiceArrayOutput) Index(i pulumi.IntInput) ResponsePlayResponderServiceOutput
- func (o ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput
- func (o ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutputWithContext(ctx context.Context) ResponsePlayResponderServiceArrayOutput
- type ResponsePlayResponderServiceInput
- type ResponsePlayResponderServiceOutput
- func (ResponsePlayResponderServiceOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderServiceOutput) Id() pulumi.StringPtrOutput
- func (o ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput
- func (o ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutputWithContext(ctx context.Context) ResponsePlayResponderServiceOutput
- func (o ResponsePlayResponderServiceOutput) Type() pulumi.StringPtrOutput
- type ResponsePlayResponderTeam
- type ResponsePlayResponderTeamArgs
- func (ResponsePlayResponderTeamArgs) ElementType() reflect.Type
- func (i ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput
- func (i ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutputWithContext(ctx context.Context) ResponsePlayResponderTeamOutput
- type ResponsePlayResponderTeamArray
- func (ResponsePlayResponderTeamArray) ElementType() reflect.Type
- func (i ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput
- func (i ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutputWithContext(ctx context.Context) ResponsePlayResponderTeamArrayOutput
- type ResponsePlayResponderTeamArrayInput
- type ResponsePlayResponderTeamArrayOutput
- func (ResponsePlayResponderTeamArrayOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderTeamArrayOutput) Index(i pulumi.IntInput) ResponsePlayResponderTeamOutput
- func (o ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput
- func (o ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutputWithContext(ctx context.Context) ResponsePlayResponderTeamArrayOutput
- type ResponsePlayResponderTeamInput
- type ResponsePlayResponderTeamOutput
- func (ResponsePlayResponderTeamOutput) ElementType() reflect.Type
- func (o ResponsePlayResponderTeamOutput) Id() pulumi.StringPtrOutput
- func (o ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput
- func (o ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutputWithContext(ctx context.Context) ResponsePlayResponderTeamOutput
- func (o ResponsePlayResponderTeamOutput) Type() pulumi.StringOutput
- type ResponsePlayState
- type ResponsePlaySubscriber
- type ResponsePlaySubscriberArgs
- type ResponsePlaySubscriberArray
- func (ResponsePlaySubscriberArray) ElementType() reflect.Type
- func (i ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput
- func (i ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutputWithContext(ctx context.Context) ResponsePlaySubscriberArrayOutput
- type ResponsePlaySubscriberArrayInput
- type ResponsePlaySubscriberArrayOutput
- func (ResponsePlaySubscriberArrayOutput) ElementType() reflect.Type
- func (o ResponsePlaySubscriberArrayOutput) Index(i pulumi.IntInput) ResponsePlaySubscriberOutput
- func (o ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput
- func (o ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutputWithContext(ctx context.Context) ResponsePlaySubscriberArrayOutput
- type ResponsePlaySubscriberInput
- type ResponsePlaySubscriberOutput
- func (ResponsePlaySubscriberOutput) ElementType() reflect.Type
- func (o ResponsePlaySubscriberOutput) Id() pulumi.StringPtrOutput
- func (o ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutput() ResponsePlaySubscriberOutput
- func (o ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutputWithContext(ctx context.Context) ResponsePlaySubscriberOutput
- func (o ResponsePlaySubscriberOutput) Type() pulumi.StringPtrOutput
- type Ruleset
- func (*Ruleset) ElementType() reflect.Type
- func (i *Ruleset) ToRulesetOutput() RulesetOutput
- func (i *Ruleset) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
- func (i *Ruleset) ToRulesetPtrOutput() RulesetPtrOutput
- func (i *Ruleset) ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput
- type RulesetArgs
- type RulesetArray
- type RulesetArrayInput
- type RulesetArrayOutput
- type RulesetInput
- type RulesetMap
- type RulesetMapInput
- type RulesetMapOutput
- type RulesetOutput
- func (RulesetOutput) ElementType() reflect.Type
- func (o RulesetOutput) ToRulesetOutput() RulesetOutput
- func (o RulesetOutput) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
- func (o RulesetOutput) ToRulesetPtrOutput() RulesetPtrOutput
- func (o RulesetOutput) ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput
- type RulesetPtrInput
- type RulesetPtrOutput
- type RulesetRule
- func (*RulesetRule) ElementType() reflect.Type
- func (i *RulesetRule) ToRulesetRuleOutput() RulesetRuleOutput
- func (i *RulesetRule) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput
- func (i *RulesetRule) ToRulesetRulePtrOutput() RulesetRulePtrOutput
- func (i *RulesetRule) ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput
- type RulesetRuleActions
- type RulesetRuleActionsAnnotate
- type RulesetRuleActionsAnnotateArgs
- func (RulesetRuleActionsAnnotateArgs) ElementType() reflect.Type
- func (i RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutput() RulesetRuleActionsAnnotateOutput
- func (i RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateOutput
- type RulesetRuleActionsAnnotateArray
- func (RulesetRuleActionsAnnotateArray) ElementType() reflect.Type
- func (i RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutput() RulesetRuleActionsAnnotateArrayOutput
- func (i RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateArrayOutput
- type RulesetRuleActionsAnnotateArrayInput
- type RulesetRuleActionsAnnotateArrayOutput
- func (RulesetRuleActionsAnnotateArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsAnnotateArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsAnnotateOutput
- func (o RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutput() RulesetRuleActionsAnnotateArrayOutput
- func (o RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateArrayOutput
- type RulesetRuleActionsAnnotateInput
- type RulesetRuleActionsAnnotateOutput
- func (RulesetRuleActionsAnnotateOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutput() RulesetRuleActionsAnnotateOutput
- func (o RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateOutput
- func (o RulesetRuleActionsAnnotateOutput) Value() pulumi.StringPtrOutput
- type RulesetRuleActionsArgs
- func (RulesetRuleActionsArgs) ElementType() reflect.Type
- func (i RulesetRuleActionsArgs) ToRulesetRuleActionsOutput() RulesetRuleActionsOutput
- func (i RulesetRuleActionsArgs) ToRulesetRuleActionsOutputWithContext(ctx context.Context) RulesetRuleActionsOutput
- func (i RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput
- func (i RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutputWithContext(ctx context.Context) RulesetRuleActionsPtrOutput
- type RulesetRuleActionsEventAction
- type RulesetRuleActionsEventActionArgs
- func (RulesetRuleActionsEventActionArgs) ElementType() reflect.Type
- func (i RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutput() RulesetRuleActionsEventActionOutput
- func (i RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionOutput
- type RulesetRuleActionsEventActionArray
- func (RulesetRuleActionsEventActionArray) ElementType() reflect.Type
- func (i RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutput() RulesetRuleActionsEventActionArrayOutput
- func (i RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionArrayOutput
- type RulesetRuleActionsEventActionArrayInput
- type RulesetRuleActionsEventActionArrayOutput
- func (RulesetRuleActionsEventActionArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsEventActionArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsEventActionOutput
- func (o RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutput() RulesetRuleActionsEventActionArrayOutput
- func (o RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionArrayOutput
- type RulesetRuleActionsEventActionInput
- type RulesetRuleActionsEventActionOutput
- func (RulesetRuleActionsEventActionOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutput() RulesetRuleActionsEventActionOutput
- func (o RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionOutput
- func (o RulesetRuleActionsEventActionOutput) Value() pulumi.StringPtrOutput
- type RulesetRuleActionsExtraction
- type RulesetRuleActionsExtractionArgs
- func (RulesetRuleActionsExtractionArgs) ElementType() reflect.Type
- func (i RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutput() RulesetRuleActionsExtractionOutput
- func (i RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionOutput
- type RulesetRuleActionsExtractionArray
- func (RulesetRuleActionsExtractionArray) ElementType() reflect.Type
- func (i RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutput() RulesetRuleActionsExtractionArrayOutput
- func (i RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionArrayOutput
- type RulesetRuleActionsExtractionArrayInput
- type RulesetRuleActionsExtractionArrayOutput
- func (RulesetRuleActionsExtractionArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsExtractionArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsExtractionOutput
- func (o RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutput() RulesetRuleActionsExtractionArrayOutput
- func (o RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionArrayOutput
- type RulesetRuleActionsExtractionInput
- type RulesetRuleActionsExtractionOutput
- func (RulesetRuleActionsExtractionOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsExtractionOutput) Regex() pulumi.StringPtrOutput
- func (o RulesetRuleActionsExtractionOutput) Source() pulumi.StringPtrOutput
- func (o RulesetRuleActionsExtractionOutput) Target() pulumi.StringPtrOutput
- func (o RulesetRuleActionsExtractionOutput) Template() pulumi.StringPtrOutput
- func (o RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutput() RulesetRuleActionsExtractionOutput
- func (o RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionOutput
- type RulesetRuleActionsInput
- type RulesetRuleActionsOutput
- func (o RulesetRuleActionsOutput) Annotates() RulesetRuleActionsAnnotateArrayOutput
- func (RulesetRuleActionsOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsOutput) EventActions() RulesetRuleActionsEventActionArrayOutput
- func (o RulesetRuleActionsOutput) Extractions() RulesetRuleActionsExtractionArrayOutput
- func (o RulesetRuleActionsOutput) Priorities() RulesetRuleActionsPriorityArrayOutput
- func (o RulesetRuleActionsOutput) Routes() RulesetRuleActionsRouteArrayOutput
- func (o RulesetRuleActionsOutput) Severities() RulesetRuleActionsSeverityArrayOutput
- func (o RulesetRuleActionsOutput) Suppresses() RulesetRuleActionsSuppressArrayOutput
- func (o RulesetRuleActionsOutput) Suspends() RulesetRuleActionsSuspendArrayOutput
- func (o RulesetRuleActionsOutput) ToRulesetRuleActionsOutput() RulesetRuleActionsOutput
- func (o RulesetRuleActionsOutput) ToRulesetRuleActionsOutputWithContext(ctx context.Context) RulesetRuleActionsOutput
- func (o RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput
- func (o RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutputWithContext(ctx context.Context) RulesetRuleActionsPtrOutput
- type RulesetRuleActionsPriority
- type RulesetRuleActionsPriorityArgs
- func (RulesetRuleActionsPriorityArgs) ElementType() reflect.Type
- func (i RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutput() RulesetRuleActionsPriorityOutput
- func (i RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityOutput
- type RulesetRuleActionsPriorityArray
- func (RulesetRuleActionsPriorityArray) ElementType() reflect.Type
- func (i RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutput() RulesetRuleActionsPriorityArrayOutput
- func (i RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityArrayOutput
- type RulesetRuleActionsPriorityArrayInput
- type RulesetRuleActionsPriorityArrayOutput
- func (RulesetRuleActionsPriorityArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsPriorityArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsPriorityOutput
- func (o RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutput() RulesetRuleActionsPriorityArrayOutput
- func (o RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityArrayOutput
- type RulesetRuleActionsPriorityInput
- type RulesetRuleActionsPriorityOutput
- func (RulesetRuleActionsPriorityOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutput() RulesetRuleActionsPriorityOutput
- func (o RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityOutput
- func (o RulesetRuleActionsPriorityOutput) Value() pulumi.StringPtrOutput
- type RulesetRuleActionsPtrInput
- type RulesetRuleActionsPtrOutput
- func (o RulesetRuleActionsPtrOutput) Annotates() RulesetRuleActionsAnnotateArrayOutput
- func (o RulesetRuleActionsPtrOutput) Elem() RulesetRuleActionsOutput
- func (RulesetRuleActionsPtrOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsPtrOutput) EventActions() RulesetRuleActionsEventActionArrayOutput
- func (o RulesetRuleActionsPtrOutput) Extractions() RulesetRuleActionsExtractionArrayOutput
- func (o RulesetRuleActionsPtrOutput) Priorities() RulesetRuleActionsPriorityArrayOutput
- func (o RulesetRuleActionsPtrOutput) Routes() RulesetRuleActionsRouteArrayOutput
- func (o RulesetRuleActionsPtrOutput) Severities() RulesetRuleActionsSeverityArrayOutput
- func (o RulesetRuleActionsPtrOutput) Suppresses() RulesetRuleActionsSuppressArrayOutput
- func (o RulesetRuleActionsPtrOutput) Suspends() RulesetRuleActionsSuspendArrayOutput
- func (o RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput
- func (o RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutputWithContext(ctx context.Context) RulesetRuleActionsPtrOutput
- type RulesetRuleActionsRoute
- type RulesetRuleActionsRouteArgs
- type RulesetRuleActionsRouteArray
- func (RulesetRuleActionsRouteArray) ElementType() reflect.Type
- func (i RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutput() RulesetRuleActionsRouteArrayOutput
- func (i RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutputWithContext(ctx context.Context) RulesetRuleActionsRouteArrayOutput
- type RulesetRuleActionsRouteArrayInput
- type RulesetRuleActionsRouteArrayOutput
- func (RulesetRuleActionsRouteArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsRouteArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsRouteOutput
- func (o RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutput() RulesetRuleActionsRouteArrayOutput
- func (o RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutputWithContext(ctx context.Context) RulesetRuleActionsRouteArrayOutput
- type RulesetRuleActionsRouteInput
- type RulesetRuleActionsRouteOutput
- func (RulesetRuleActionsRouteOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutput() RulesetRuleActionsRouteOutput
- func (o RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutputWithContext(ctx context.Context) RulesetRuleActionsRouteOutput
- func (o RulesetRuleActionsRouteOutput) Value() pulumi.StringPtrOutput
- type RulesetRuleActionsSeverity
- type RulesetRuleActionsSeverityArgs
- func (RulesetRuleActionsSeverityArgs) ElementType() reflect.Type
- func (i RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutput() RulesetRuleActionsSeverityOutput
- func (i RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityOutput
- type RulesetRuleActionsSeverityArray
- func (RulesetRuleActionsSeverityArray) ElementType() reflect.Type
- func (i RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutput() RulesetRuleActionsSeverityArrayOutput
- func (i RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityArrayOutput
- type RulesetRuleActionsSeverityArrayInput
- type RulesetRuleActionsSeverityArrayOutput
- func (RulesetRuleActionsSeverityArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsSeverityArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsSeverityOutput
- func (o RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutput() RulesetRuleActionsSeverityArrayOutput
- func (o RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityArrayOutput
- type RulesetRuleActionsSeverityInput
- type RulesetRuleActionsSeverityOutput
- func (RulesetRuleActionsSeverityOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutput() RulesetRuleActionsSeverityOutput
- func (o RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityOutput
- func (o RulesetRuleActionsSeverityOutput) Value() pulumi.StringPtrOutput
- type RulesetRuleActionsSuppress
- type RulesetRuleActionsSuppressArgs
- func (RulesetRuleActionsSuppressArgs) ElementType() reflect.Type
- func (i RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutput() RulesetRuleActionsSuppressOutput
- func (i RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressOutput
- type RulesetRuleActionsSuppressArray
- func (RulesetRuleActionsSuppressArray) ElementType() reflect.Type
- func (i RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutput() RulesetRuleActionsSuppressArrayOutput
- func (i RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressArrayOutput
- type RulesetRuleActionsSuppressArrayInput
- type RulesetRuleActionsSuppressArrayOutput
- func (RulesetRuleActionsSuppressArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsSuppressArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsSuppressOutput
- func (o RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutput() RulesetRuleActionsSuppressArrayOutput
- func (o RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressArrayOutput
- type RulesetRuleActionsSuppressInput
- type RulesetRuleActionsSuppressOutput
- func (RulesetRuleActionsSuppressOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsSuppressOutput) ThresholdTimeAmount() pulumi.IntPtrOutput
- func (o RulesetRuleActionsSuppressOutput) ThresholdTimeUnit() pulumi.StringPtrOutput
- func (o RulesetRuleActionsSuppressOutput) ThresholdValue() pulumi.IntPtrOutput
- func (o RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutput() RulesetRuleActionsSuppressOutput
- func (o RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressOutput
- func (o RulesetRuleActionsSuppressOutput) Value() pulumi.BoolPtrOutput
- type RulesetRuleActionsSuspend
- type RulesetRuleActionsSuspendArgs
- func (RulesetRuleActionsSuspendArgs) ElementType() reflect.Type
- func (i RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput
- func (i RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendOutput
- type RulesetRuleActionsSuspendArray
- func (RulesetRuleActionsSuspendArray) ElementType() reflect.Type
- func (i RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput
- func (i RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendArrayOutput
- type RulesetRuleActionsSuspendArrayInput
- type RulesetRuleActionsSuspendArrayOutput
- func (RulesetRuleActionsSuspendArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsSuspendArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsSuspendOutput
- func (o RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput
- func (o RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendArrayOutput
- type RulesetRuleActionsSuspendInput
- type RulesetRuleActionsSuspendOutput
- func (RulesetRuleActionsSuspendOutput) ElementType() reflect.Type
- func (o RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput
- func (o RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendOutput
- func (o RulesetRuleActionsSuspendOutput) Value() pulumi.IntPtrOutput
- type RulesetRuleArgs
- type RulesetRuleArray
- type RulesetRuleArrayInput
- type RulesetRuleArrayOutput
- func (RulesetRuleArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleArrayOutput) Index(i pulumi.IntInput) RulesetRuleOutput
- func (o RulesetRuleArrayOutput) ToRulesetRuleArrayOutput() RulesetRuleArrayOutput
- func (o RulesetRuleArrayOutput) ToRulesetRuleArrayOutputWithContext(ctx context.Context) RulesetRuleArrayOutput
- type RulesetRuleConditions
- type RulesetRuleConditionsArgs
- func (RulesetRuleConditionsArgs) ElementType() reflect.Type
- func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutput() RulesetRuleConditionsOutput
- func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutputWithContext(ctx context.Context) RulesetRuleConditionsOutput
- func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput
- func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutputWithContext(ctx context.Context) RulesetRuleConditionsPtrOutput
- type RulesetRuleConditionsInput
- type RulesetRuleConditionsOutput
- func (RulesetRuleConditionsOutput) ElementType() reflect.Type
- func (o RulesetRuleConditionsOutput) Operator() pulumi.StringPtrOutput
- func (o RulesetRuleConditionsOutput) Subconditions() RulesetRuleConditionsSubconditionArrayOutput
- func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutput() RulesetRuleConditionsOutput
- func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutputWithContext(ctx context.Context) RulesetRuleConditionsOutput
- func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput
- func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutputWithContext(ctx context.Context) RulesetRuleConditionsPtrOutput
- type RulesetRuleConditionsPtrInput
- type RulesetRuleConditionsPtrOutput
- func (o RulesetRuleConditionsPtrOutput) Elem() RulesetRuleConditionsOutput
- func (RulesetRuleConditionsPtrOutput) ElementType() reflect.Type
- func (o RulesetRuleConditionsPtrOutput) Operator() pulumi.StringPtrOutput
- func (o RulesetRuleConditionsPtrOutput) Subconditions() RulesetRuleConditionsSubconditionArrayOutput
- func (o RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput
- func (o RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutputWithContext(ctx context.Context) RulesetRuleConditionsPtrOutput
- type RulesetRuleConditionsSubcondition
- type RulesetRuleConditionsSubconditionArgs
- func (RulesetRuleConditionsSubconditionArgs) ElementType() reflect.Type
- func (i RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutput() RulesetRuleConditionsSubconditionOutput
- func (i RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionOutput
- type RulesetRuleConditionsSubconditionArray
- func (RulesetRuleConditionsSubconditionArray) ElementType() reflect.Type
- func (i RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutput() RulesetRuleConditionsSubconditionArrayOutput
- func (i RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionArrayOutput
- type RulesetRuleConditionsSubconditionArrayInput
- type RulesetRuleConditionsSubconditionArrayOutput
- func (RulesetRuleConditionsSubconditionArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleConditionsSubconditionArrayOutput) Index(i pulumi.IntInput) RulesetRuleConditionsSubconditionOutput
- func (o RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutput() RulesetRuleConditionsSubconditionArrayOutput
- func (o RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionArrayOutput
- type RulesetRuleConditionsSubconditionInput
- type RulesetRuleConditionsSubconditionOutput
- func (RulesetRuleConditionsSubconditionOutput) ElementType() reflect.Type
- func (o RulesetRuleConditionsSubconditionOutput) Operator() pulumi.StringPtrOutput
- func (o RulesetRuleConditionsSubconditionOutput) Parameters() RulesetRuleConditionsSubconditionParameterArrayOutput
- func (o RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutput() RulesetRuleConditionsSubconditionOutput
- func (o RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionOutput
- type RulesetRuleConditionsSubconditionParameter
- type RulesetRuleConditionsSubconditionParameterArgs
- func (RulesetRuleConditionsSubconditionParameterArgs) ElementType() reflect.Type
- func (i RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutput() RulesetRuleConditionsSubconditionParameterOutput
- func (i RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterOutput
- type RulesetRuleConditionsSubconditionParameterArray
- func (RulesetRuleConditionsSubconditionParameterArray) ElementType() reflect.Type
- func (i RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutput() RulesetRuleConditionsSubconditionParameterArrayOutput
- func (i RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterArrayOutput
- type RulesetRuleConditionsSubconditionParameterArrayInput
- type RulesetRuleConditionsSubconditionParameterArrayOutput
- func (RulesetRuleConditionsSubconditionParameterArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleConditionsSubconditionParameterArrayOutput) Index(i pulumi.IntInput) RulesetRuleConditionsSubconditionParameterOutput
- func (o RulesetRuleConditionsSubconditionParameterArrayOutput) ToRulesetRuleConditionsSubconditionParameterArrayOutput() RulesetRuleConditionsSubconditionParameterArrayOutput
- func (o RulesetRuleConditionsSubconditionParameterArrayOutput) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterArrayOutput
- type RulesetRuleConditionsSubconditionParameterInput
- type RulesetRuleConditionsSubconditionParameterOutput
- func (RulesetRuleConditionsSubconditionParameterOutput) ElementType() reflect.Type
- func (o RulesetRuleConditionsSubconditionParameterOutput) Path() pulumi.StringPtrOutput
- func (o RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutput() RulesetRuleConditionsSubconditionParameterOutput
- func (o RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterOutput
- func (o RulesetRuleConditionsSubconditionParameterOutput) Value() pulumi.StringPtrOutput
- type RulesetRuleInput
- type RulesetRuleMap
- type RulesetRuleMapInput
- type RulesetRuleMapOutput
- func (RulesetRuleMapOutput) ElementType() reflect.Type
- func (o RulesetRuleMapOutput) MapIndex(k pulumi.StringInput) RulesetRuleOutput
- func (o RulesetRuleMapOutput) ToRulesetRuleMapOutput() RulesetRuleMapOutput
- func (o RulesetRuleMapOutput) ToRulesetRuleMapOutputWithContext(ctx context.Context) RulesetRuleMapOutput
- type RulesetRuleOutput
- func (RulesetRuleOutput) ElementType() reflect.Type
- func (o RulesetRuleOutput) ToRulesetRuleOutput() RulesetRuleOutput
- func (o RulesetRuleOutput) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput
- func (o RulesetRuleOutput) ToRulesetRulePtrOutput() RulesetRulePtrOutput
- func (o RulesetRuleOutput) ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput
- type RulesetRulePtrInput
- type RulesetRulePtrOutput
- type RulesetRuleState
- type RulesetRuleTimeFrame
- type RulesetRuleTimeFrameActiveBetween
- type RulesetRuleTimeFrameActiveBetweenArgs
- func (RulesetRuleTimeFrameActiveBetweenArgs) ElementType() reflect.Type
- func (i RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutput() RulesetRuleTimeFrameActiveBetweenOutput
- func (i RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenOutput
- type RulesetRuleTimeFrameActiveBetweenArray
- func (RulesetRuleTimeFrameActiveBetweenArray) ElementType() reflect.Type
- func (i RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutput() RulesetRuleTimeFrameActiveBetweenArrayOutput
- func (i RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenArrayOutput
- type RulesetRuleTimeFrameActiveBetweenArrayInput
- type RulesetRuleTimeFrameActiveBetweenArrayOutput
- func (RulesetRuleTimeFrameActiveBetweenArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleTimeFrameActiveBetweenArrayOutput) Index(i pulumi.IntInput) RulesetRuleTimeFrameActiveBetweenOutput
- func (o RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutput() RulesetRuleTimeFrameActiveBetweenArrayOutput
- func (o RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenArrayOutput
- type RulesetRuleTimeFrameActiveBetweenInput
- type RulesetRuleTimeFrameActiveBetweenOutput
- func (RulesetRuleTimeFrameActiveBetweenOutput) ElementType() reflect.Type
- func (o RulesetRuleTimeFrameActiveBetweenOutput) EndTime() pulumi.IntPtrOutput
- func (o RulesetRuleTimeFrameActiveBetweenOutput) StartTime() pulumi.IntPtrOutput
- func (o RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutput() RulesetRuleTimeFrameActiveBetweenOutput
- func (o RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenOutput
- type RulesetRuleTimeFrameArgs
- func (RulesetRuleTimeFrameArgs) ElementType() reflect.Type
- func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutput() RulesetRuleTimeFrameOutput
- func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutputWithContext(ctx context.Context) RulesetRuleTimeFrameOutput
- func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput
- func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutputWithContext(ctx context.Context) RulesetRuleTimeFramePtrOutput
- type RulesetRuleTimeFrameInput
- type RulesetRuleTimeFrameOutput
- func (o RulesetRuleTimeFrameOutput) ActiveBetweens() RulesetRuleTimeFrameActiveBetweenArrayOutput
- func (RulesetRuleTimeFrameOutput) ElementType() reflect.Type
- func (o RulesetRuleTimeFrameOutput) ScheduledWeeklies() RulesetRuleTimeFrameScheduledWeeklyArrayOutput
- func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutput() RulesetRuleTimeFrameOutput
- func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutputWithContext(ctx context.Context) RulesetRuleTimeFrameOutput
- func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput
- func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutputWithContext(ctx context.Context) RulesetRuleTimeFramePtrOutput
- type RulesetRuleTimeFramePtrInput
- type RulesetRuleTimeFramePtrOutput
- func (o RulesetRuleTimeFramePtrOutput) ActiveBetweens() RulesetRuleTimeFrameActiveBetweenArrayOutput
- func (o RulesetRuleTimeFramePtrOutput) Elem() RulesetRuleTimeFrameOutput
- func (RulesetRuleTimeFramePtrOutput) ElementType() reflect.Type
- func (o RulesetRuleTimeFramePtrOutput) ScheduledWeeklies() RulesetRuleTimeFrameScheduledWeeklyArrayOutput
- func (o RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput
- func (o RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutputWithContext(ctx context.Context) RulesetRuleTimeFramePtrOutput
- type RulesetRuleTimeFrameScheduledWeekly
- type RulesetRuleTimeFrameScheduledWeeklyArgs
- func (RulesetRuleTimeFrameScheduledWeeklyArgs) ElementType() reflect.Type
- func (i RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutput() RulesetRuleTimeFrameScheduledWeeklyOutput
- func (i RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyOutput
- type RulesetRuleTimeFrameScheduledWeeklyArray
- func (RulesetRuleTimeFrameScheduledWeeklyArray) ElementType() reflect.Type
- func (i RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput() RulesetRuleTimeFrameScheduledWeeklyArrayOutput
- func (i RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyArrayOutput
- type RulesetRuleTimeFrameScheduledWeeklyArrayInput
- type RulesetRuleTimeFrameScheduledWeeklyArrayOutput
- func (RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleTimeFrameScheduledWeeklyArrayOutput) Index(i pulumi.IntInput) RulesetRuleTimeFrameScheduledWeeklyOutput
- func (o RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput() RulesetRuleTimeFrameScheduledWeeklyArrayOutput
- func (o RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyArrayOutput
- type RulesetRuleTimeFrameScheduledWeeklyInput
- type RulesetRuleTimeFrameScheduledWeeklyOutput
- func (o RulesetRuleTimeFrameScheduledWeeklyOutput) Duration() pulumi.IntPtrOutput
- func (RulesetRuleTimeFrameScheduledWeeklyOutput) ElementType() reflect.Type
- func (o RulesetRuleTimeFrameScheduledWeeklyOutput) StartTime() pulumi.IntPtrOutput
- func (o RulesetRuleTimeFrameScheduledWeeklyOutput) Timezone() pulumi.StringPtrOutput
- func (o RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutput() RulesetRuleTimeFrameScheduledWeeklyOutput
- func (o RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyOutput
- func (o RulesetRuleTimeFrameScheduledWeeklyOutput) Weekdays() pulumi.IntArrayOutput
- type RulesetRuleVariable
- type RulesetRuleVariableArgs
- type RulesetRuleVariableArray
- type RulesetRuleVariableArrayInput
- type RulesetRuleVariableArrayOutput
- func (RulesetRuleVariableArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleVariableArrayOutput) Index(i pulumi.IntInput) RulesetRuleVariableOutput
- func (o RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutput() RulesetRuleVariableArrayOutput
- func (o RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutputWithContext(ctx context.Context) RulesetRuleVariableArrayOutput
- type RulesetRuleVariableInput
- type RulesetRuleVariableOutput
- func (RulesetRuleVariableOutput) ElementType() reflect.Type
- func (o RulesetRuleVariableOutput) Name() pulumi.StringPtrOutput
- func (o RulesetRuleVariableOutput) Parameters() RulesetRuleVariableParameterArrayOutput
- func (o RulesetRuleVariableOutput) ToRulesetRuleVariableOutput() RulesetRuleVariableOutput
- func (o RulesetRuleVariableOutput) ToRulesetRuleVariableOutputWithContext(ctx context.Context) RulesetRuleVariableOutput
- func (o RulesetRuleVariableOutput) Type() pulumi.StringPtrOutput
- type RulesetRuleVariableParameter
- type RulesetRuleVariableParameterArgs
- func (RulesetRuleVariableParameterArgs) ElementType() reflect.Type
- func (i RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput
- func (i RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutputWithContext(ctx context.Context) RulesetRuleVariableParameterOutput
- type RulesetRuleVariableParameterArray
- func (RulesetRuleVariableParameterArray) ElementType() reflect.Type
- func (i RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput
- func (i RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutputWithContext(ctx context.Context) RulesetRuleVariableParameterArrayOutput
- type RulesetRuleVariableParameterArrayInput
- type RulesetRuleVariableParameterArrayOutput
- func (RulesetRuleVariableParameterArrayOutput) ElementType() reflect.Type
- func (o RulesetRuleVariableParameterArrayOutput) Index(i pulumi.IntInput) RulesetRuleVariableParameterOutput
- func (o RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput
- func (o RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutputWithContext(ctx context.Context) RulesetRuleVariableParameterArrayOutput
- type RulesetRuleVariableParameterInput
- type RulesetRuleVariableParameterOutput
- func (RulesetRuleVariableParameterOutput) ElementType() reflect.Type
- func (o RulesetRuleVariableParameterOutput) Path() pulumi.StringPtrOutput
- func (o RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput
- func (o RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutputWithContext(ctx context.Context) RulesetRuleVariableParameterOutput
- func (o RulesetRuleVariableParameterOutput) Value() pulumi.StringPtrOutput
- type RulesetState
- type RulesetTeam
- type RulesetTeamArgs
- func (RulesetTeamArgs) ElementType() reflect.Type
- func (i RulesetTeamArgs) ToRulesetTeamOutput() RulesetTeamOutput
- func (i RulesetTeamArgs) ToRulesetTeamOutputWithContext(ctx context.Context) RulesetTeamOutput
- func (i RulesetTeamArgs) ToRulesetTeamPtrOutput() RulesetTeamPtrOutput
- func (i RulesetTeamArgs) ToRulesetTeamPtrOutputWithContext(ctx context.Context) RulesetTeamPtrOutput
- type RulesetTeamInput
- type RulesetTeamOutput
- func (RulesetTeamOutput) ElementType() reflect.Type
- func (o RulesetTeamOutput) Id() pulumi.StringOutput
- func (o RulesetTeamOutput) ToRulesetTeamOutput() RulesetTeamOutput
- func (o RulesetTeamOutput) ToRulesetTeamOutputWithContext(ctx context.Context) RulesetTeamOutput
- func (o RulesetTeamOutput) ToRulesetTeamPtrOutput() RulesetTeamPtrOutput
- func (o RulesetTeamOutput) ToRulesetTeamPtrOutputWithContext(ctx context.Context) RulesetTeamPtrOutput
- type RulesetTeamPtrInput
- type RulesetTeamPtrOutput
- func (o RulesetTeamPtrOutput) Elem() RulesetTeamOutput
- func (RulesetTeamPtrOutput) ElementType() reflect.Type
- func (o RulesetTeamPtrOutput) Id() pulumi.StringPtrOutput
- func (o RulesetTeamPtrOutput) ToRulesetTeamPtrOutput() RulesetTeamPtrOutput
- func (o RulesetTeamPtrOutput) ToRulesetTeamPtrOutputWithContext(ctx context.Context) RulesetTeamPtrOutput
- type Schedule
- func (*Schedule) ElementType() reflect.Type
- func (i *Schedule) ToScheduleOutput() ScheduleOutput
- func (i *Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
- func (i *Schedule) ToSchedulePtrOutput() SchedulePtrOutput
- func (i *Schedule) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput
- type ScheduleArgs
- type ScheduleArray
- type ScheduleArrayInput
- type ScheduleArrayOutput
- type ScheduleInput
- type ScheduleLayer
- type ScheduleLayerArgs
- type ScheduleLayerArray
- type ScheduleLayerArrayInput
- type ScheduleLayerArrayOutput
- func (ScheduleLayerArrayOutput) ElementType() reflect.Type
- func (o ScheduleLayerArrayOutput) Index(i pulumi.IntInput) ScheduleLayerOutput
- func (o ScheduleLayerArrayOutput) ToScheduleLayerArrayOutput() ScheduleLayerArrayOutput
- func (o ScheduleLayerArrayOutput) ToScheduleLayerArrayOutputWithContext(ctx context.Context) ScheduleLayerArrayOutput
- type ScheduleLayerInput
- type ScheduleLayerOutput
- func (ScheduleLayerOutput) ElementType() reflect.Type
- func (o ScheduleLayerOutput) End() pulumi.StringPtrOutput
- func (o ScheduleLayerOutput) Id() pulumi.StringPtrOutput
- func (o ScheduleLayerOutput) Name() pulumi.StringPtrOutput
- func (o ScheduleLayerOutput) Restrictions() ScheduleLayerRestrictionArrayOutput
- func (o ScheduleLayerOutput) RotationTurnLengthSeconds() pulumi.IntOutput
- func (o ScheduleLayerOutput) RotationVirtualStart() pulumi.StringOutput
- func (o ScheduleLayerOutput) Start() pulumi.StringOutput
- func (o ScheduleLayerOutput) ToScheduleLayerOutput() ScheduleLayerOutput
- func (o ScheduleLayerOutput) ToScheduleLayerOutputWithContext(ctx context.Context) ScheduleLayerOutput
- func (o ScheduleLayerOutput) Users() pulumi.StringArrayOutput
- type ScheduleLayerRestriction
- type ScheduleLayerRestrictionArgs
- func (ScheduleLayerRestrictionArgs) ElementType() reflect.Type
- func (i ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutput() ScheduleLayerRestrictionOutput
- func (i ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutputWithContext(ctx context.Context) ScheduleLayerRestrictionOutput
- type ScheduleLayerRestrictionArray
- func (ScheduleLayerRestrictionArray) ElementType() reflect.Type
- func (i ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutput() ScheduleLayerRestrictionArrayOutput
- func (i ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutputWithContext(ctx context.Context) ScheduleLayerRestrictionArrayOutput
- type ScheduleLayerRestrictionArrayInput
- type ScheduleLayerRestrictionArrayOutput
- func (ScheduleLayerRestrictionArrayOutput) ElementType() reflect.Type
- func (o ScheduleLayerRestrictionArrayOutput) Index(i pulumi.IntInput) ScheduleLayerRestrictionOutput
- func (o ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutput() ScheduleLayerRestrictionArrayOutput
- func (o ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutputWithContext(ctx context.Context) ScheduleLayerRestrictionArrayOutput
- type ScheduleLayerRestrictionInput
- type ScheduleLayerRestrictionOutput
- func (o ScheduleLayerRestrictionOutput) DurationSeconds() pulumi.IntOutput
- func (ScheduleLayerRestrictionOutput) ElementType() reflect.Type
- func (o ScheduleLayerRestrictionOutput) StartDayOfWeek() pulumi.IntPtrOutput
- func (o ScheduleLayerRestrictionOutput) StartTimeOfDay() pulumi.StringOutput
- func (o ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutput() ScheduleLayerRestrictionOutput
- func (o ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutputWithContext(ctx context.Context) ScheduleLayerRestrictionOutput
- func (o ScheduleLayerRestrictionOutput) Type() pulumi.StringOutput
- type ScheduleMap
- type ScheduleMapInput
- type ScheduleMapOutput
- type ScheduleOutput
- func (ScheduleOutput) ElementType() reflect.Type
- func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput
- func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
- func (o ScheduleOutput) ToSchedulePtrOutput() SchedulePtrOutput
- func (o ScheduleOutput) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput
- type SchedulePtrInput
- type SchedulePtrOutput
- type ScheduleState
- type Service
- func (*Service) ElementType() reflect.Type
- func (i *Service) ToServiceOutput() ServiceOutput
- func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (i *Service) ToServicePtrOutput() ServicePtrOutput
- func (i *Service) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
- type ServiceAlertGroupingParameters
- type ServiceAlertGroupingParametersArgs
- func (ServiceAlertGroupingParametersArgs) ElementType() reflect.Type
- func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutput() ServiceAlertGroupingParametersOutput
- func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersOutput
- func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput
- func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersPtrOutput
- type ServiceAlertGroupingParametersConfig
- type ServiceAlertGroupingParametersConfigArgs
- func (ServiceAlertGroupingParametersConfigArgs) ElementType() reflect.Type
- func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutput() ServiceAlertGroupingParametersConfigOutput
- func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigOutput
- func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput
- func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigPtrOutput
- type ServiceAlertGroupingParametersConfigInput
- type ServiceAlertGroupingParametersConfigOutput
- func (o ServiceAlertGroupingParametersConfigOutput) Aggregate() pulumi.StringPtrOutput
- func (ServiceAlertGroupingParametersConfigOutput) ElementType() reflect.Type
- func (o ServiceAlertGroupingParametersConfigOutput) Fields() pulumi.StringArrayOutput
- func (o ServiceAlertGroupingParametersConfigOutput) Timeout() pulumi.IntPtrOutput
- func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutput() ServiceAlertGroupingParametersConfigOutput
- func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigOutput
- func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput
- func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigPtrOutput
- type ServiceAlertGroupingParametersConfigPtrInput
- type ServiceAlertGroupingParametersConfigPtrOutput
- func (o ServiceAlertGroupingParametersConfigPtrOutput) Aggregate() pulumi.StringPtrOutput
- func (o ServiceAlertGroupingParametersConfigPtrOutput) Elem() ServiceAlertGroupingParametersConfigOutput
- func (ServiceAlertGroupingParametersConfigPtrOutput) ElementType() reflect.Type
- func (o ServiceAlertGroupingParametersConfigPtrOutput) Fields() pulumi.StringArrayOutput
- func (o ServiceAlertGroupingParametersConfigPtrOutput) Timeout() pulumi.IntPtrOutput
- func (o ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput
- func (o ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigPtrOutput
- type ServiceAlertGroupingParametersInput
- type ServiceAlertGroupingParametersOutput
- func (o ServiceAlertGroupingParametersOutput) Config() ServiceAlertGroupingParametersConfigPtrOutput
- func (ServiceAlertGroupingParametersOutput) ElementType() reflect.Type
- func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutput() ServiceAlertGroupingParametersOutput
- func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersOutput
- func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput
- func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersPtrOutput
- func (o ServiceAlertGroupingParametersOutput) Type() pulumi.StringPtrOutput
- type ServiceAlertGroupingParametersPtrInput
- type ServiceAlertGroupingParametersPtrOutput
- func (o ServiceAlertGroupingParametersPtrOutput) Config() ServiceAlertGroupingParametersConfigPtrOutput
- func (o ServiceAlertGroupingParametersPtrOutput) Elem() ServiceAlertGroupingParametersOutput
- func (ServiceAlertGroupingParametersPtrOutput) ElementType() reflect.Type
- func (o ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput
- func (o ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersPtrOutput
- func (o ServiceAlertGroupingParametersPtrOutput) Type() pulumi.StringPtrOutput
- type ServiceArgs
- type ServiceArray
- type ServiceArrayInput
- type ServiceArrayOutput
- type ServiceDependency
- func (*ServiceDependency) ElementType() reflect.Type
- func (i *ServiceDependency) ToServiceDependencyOutput() ServiceDependencyOutput
- func (i *ServiceDependency) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput
- func (i *ServiceDependency) ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput
- func (i *ServiceDependency) ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput
- type ServiceDependencyArgs
- type ServiceDependencyArray
- type ServiceDependencyArrayInput
- type ServiceDependencyArrayOutput
- func (ServiceDependencyArrayOutput) ElementType() reflect.Type
- func (o ServiceDependencyArrayOutput) Index(i pulumi.IntInput) ServiceDependencyOutput
- func (o ServiceDependencyArrayOutput) ToServiceDependencyArrayOutput() ServiceDependencyArrayOutput
- func (o ServiceDependencyArrayOutput) ToServiceDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyArrayOutput
- type ServiceDependencyDependency
- type ServiceDependencyDependencyArgs
- func (ServiceDependencyDependencyArgs) ElementType() reflect.Type
- func (i ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutput() ServiceDependencyDependencyOutput
- func (i ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutputWithContext(ctx context.Context) ServiceDependencyDependencyOutput
- type ServiceDependencyDependencyArray
- func (ServiceDependencyDependencyArray) ElementType() reflect.Type
- func (i ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutput() ServiceDependencyDependencyArrayOutput
- func (i ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyArrayOutput
- type ServiceDependencyDependencyArrayInput
- type ServiceDependencyDependencyArrayOutput
- func (ServiceDependencyDependencyArrayOutput) ElementType() reflect.Type
- func (o ServiceDependencyDependencyArrayOutput) Index(i pulumi.IntInput) ServiceDependencyDependencyOutput
- func (o ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutput() ServiceDependencyDependencyArrayOutput
- func (o ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyArrayOutput
- type ServiceDependencyDependencyDependentService
- type ServiceDependencyDependencyDependentServiceArgs
- func (ServiceDependencyDependencyDependentServiceArgs) ElementType() reflect.Type
- func (i ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutput() ServiceDependencyDependencyDependentServiceOutput
- func (i ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceOutput
- type ServiceDependencyDependencyDependentServiceArray
- func (ServiceDependencyDependencyDependentServiceArray) ElementType() reflect.Type
- func (i ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutput() ServiceDependencyDependencyDependentServiceArrayOutput
- func (i ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceArrayOutput
- type ServiceDependencyDependencyDependentServiceArrayInput
- type ServiceDependencyDependencyDependentServiceArrayOutput
- func (ServiceDependencyDependencyDependentServiceArrayOutput) ElementType() reflect.Type
- func (o ServiceDependencyDependencyDependentServiceArrayOutput) Index(i pulumi.IntInput) ServiceDependencyDependencyDependentServiceOutput
- func (o ServiceDependencyDependencyDependentServiceArrayOutput) ToServiceDependencyDependencyDependentServiceArrayOutput() ServiceDependencyDependencyDependentServiceArrayOutput
- func (o ServiceDependencyDependencyDependentServiceArrayOutput) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceArrayOutput
- type ServiceDependencyDependencyDependentServiceInput
- type ServiceDependencyDependencyDependentServiceOutput
- func (ServiceDependencyDependencyDependentServiceOutput) ElementType() reflect.Type
- func (o ServiceDependencyDependencyDependentServiceOutput) Id() pulumi.StringOutput
- func (o ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutput() ServiceDependencyDependencyDependentServiceOutput
- func (o ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceOutput
- func (o ServiceDependencyDependencyDependentServiceOutput) Type() pulumi.StringOutput
- type ServiceDependencyDependencyInput
- type ServiceDependencyDependencyOutput
- func (o ServiceDependencyDependencyOutput) DependentServices() ServiceDependencyDependencyDependentServiceArrayOutput
- func (ServiceDependencyDependencyOutput) ElementType() reflect.Type
- func (o ServiceDependencyDependencyOutput) SupportingServices() ServiceDependencyDependencySupportingServiceArrayOutput
- func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutput() ServiceDependencyDependencyOutput
- func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutputWithContext(ctx context.Context) ServiceDependencyDependencyOutput
- func (o ServiceDependencyDependencyOutput) Type() pulumi.StringPtrOutput
- type ServiceDependencyDependencySupportingService
- type ServiceDependencyDependencySupportingServiceArgs
- func (ServiceDependencyDependencySupportingServiceArgs) ElementType() reflect.Type
- func (i ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutput() ServiceDependencyDependencySupportingServiceOutput
- func (i ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceOutput
- type ServiceDependencyDependencySupportingServiceArray
- func (ServiceDependencyDependencySupportingServiceArray) ElementType() reflect.Type
- func (i ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutput() ServiceDependencyDependencySupportingServiceArrayOutput
- func (i ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceArrayOutput
- type ServiceDependencyDependencySupportingServiceArrayInput
- type ServiceDependencyDependencySupportingServiceArrayOutput
- func (ServiceDependencyDependencySupportingServiceArrayOutput) ElementType() reflect.Type
- func (o ServiceDependencyDependencySupportingServiceArrayOutput) Index(i pulumi.IntInput) ServiceDependencyDependencySupportingServiceOutput
- func (o ServiceDependencyDependencySupportingServiceArrayOutput) ToServiceDependencyDependencySupportingServiceArrayOutput() ServiceDependencyDependencySupportingServiceArrayOutput
- func (o ServiceDependencyDependencySupportingServiceArrayOutput) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceArrayOutput
- type ServiceDependencyDependencySupportingServiceInput
- type ServiceDependencyDependencySupportingServiceOutput
- func (ServiceDependencyDependencySupportingServiceOutput) ElementType() reflect.Type
- func (o ServiceDependencyDependencySupportingServiceOutput) Id() pulumi.StringOutput
- func (o ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutput() ServiceDependencyDependencySupportingServiceOutput
- func (o ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceOutput
- func (o ServiceDependencyDependencySupportingServiceOutput) Type() pulumi.StringOutput
- type ServiceDependencyInput
- type ServiceDependencyMap
- type ServiceDependencyMapInput
- type ServiceDependencyMapOutput
- func (ServiceDependencyMapOutput) ElementType() reflect.Type
- func (o ServiceDependencyMapOutput) MapIndex(k pulumi.StringInput) ServiceDependencyOutput
- func (o ServiceDependencyMapOutput) ToServiceDependencyMapOutput() ServiceDependencyMapOutput
- func (o ServiceDependencyMapOutput) ToServiceDependencyMapOutputWithContext(ctx context.Context) ServiceDependencyMapOutput
- type ServiceDependencyOutput
- func (ServiceDependencyOutput) ElementType() reflect.Type
- func (o ServiceDependencyOutput) ToServiceDependencyOutput() ServiceDependencyOutput
- func (o ServiceDependencyOutput) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput
- func (o ServiceDependencyOutput) ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput
- func (o ServiceDependencyOutput) ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput
- type ServiceDependencyPtrInput
- type ServiceDependencyPtrOutput
- type ServiceDependencyState
- type ServiceEventRule
- func (*ServiceEventRule) ElementType() reflect.Type
- func (i *ServiceEventRule) ToServiceEventRuleOutput() ServiceEventRuleOutput
- func (i *ServiceEventRule) ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput
- func (i *ServiceEventRule) ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput
- func (i *ServiceEventRule) ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput
- type ServiceEventRuleActions
- type ServiceEventRuleActionsAnnotate
- type ServiceEventRuleActionsAnnotateArgs
- func (ServiceEventRuleActionsAnnotateArgs) ElementType() reflect.Type
- func (i ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput
- func (i ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateOutput
- type ServiceEventRuleActionsAnnotateArray
- func (ServiceEventRuleActionsAnnotateArray) ElementType() reflect.Type
- func (i ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput
- func (i ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateArrayOutput
- type ServiceEventRuleActionsAnnotateArrayInput
- type ServiceEventRuleActionsAnnotateArrayOutput
- func (ServiceEventRuleActionsAnnotateArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsAnnotateArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleActionsAnnotateOutput
- func (o ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput
- func (o ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateArrayOutput
- type ServiceEventRuleActionsAnnotateInput
- type ServiceEventRuleActionsAnnotateOutput
- func (ServiceEventRuleActionsAnnotateOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput
- func (o ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateOutput
- func (o ServiceEventRuleActionsAnnotateOutput) Value() pulumi.StringPtrOutput
- type ServiceEventRuleActionsArgs
- func (ServiceEventRuleActionsArgs) ElementType() reflect.Type
- func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput
- func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutputWithContext(ctx context.Context) ServiceEventRuleActionsOutput
- func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput
- func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput
- type ServiceEventRuleActionsEventAction
- type ServiceEventRuleActionsEventActionArgs
- func (ServiceEventRuleActionsEventActionArgs) ElementType() reflect.Type
- func (i ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput
- func (i ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionOutput
- type ServiceEventRuleActionsEventActionArray
- func (ServiceEventRuleActionsEventActionArray) ElementType() reflect.Type
- func (i ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput
- func (i ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionArrayOutput
- type ServiceEventRuleActionsEventActionArrayInput
- type ServiceEventRuleActionsEventActionArrayOutput
- func (ServiceEventRuleActionsEventActionArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsEventActionArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleActionsEventActionOutput
- func (o ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput
- func (o ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionArrayOutput
- type ServiceEventRuleActionsEventActionInput
- type ServiceEventRuleActionsEventActionOutput
- func (ServiceEventRuleActionsEventActionOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput
- func (o ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionOutput
- func (o ServiceEventRuleActionsEventActionOutput) Value() pulumi.StringPtrOutput
- type ServiceEventRuleActionsExtraction
- type ServiceEventRuleActionsExtractionArgs
- func (ServiceEventRuleActionsExtractionArgs) ElementType() reflect.Type
- func (i ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput
- func (i ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionOutput
- type ServiceEventRuleActionsExtractionArray
- func (ServiceEventRuleActionsExtractionArray) ElementType() reflect.Type
- func (i ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput
- func (i ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionArrayOutput
- type ServiceEventRuleActionsExtractionArrayInput
- type ServiceEventRuleActionsExtractionArrayOutput
- func (ServiceEventRuleActionsExtractionArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsExtractionArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleActionsExtractionOutput
- func (o ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput
- func (o ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionArrayOutput
- type ServiceEventRuleActionsExtractionInput
- type ServiceEventRuleActionsExtractionOutput
- func (ServiceEventRuleActionsExtractionOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsExtractionOutput) Regex() pulumi.StringPtrOutput
- func (o ServiceEventRuleActionsExtractionOutput) Source() pulumi.StringPtrOutput
- func (o ServiceEventRuleActionsExtractionOutput) Target() pulumi.StringPtrOutput
- func (o ServiceEventRuleActionsExtractionOutput) Template() pulumi.StringPtrOutput
- func (o ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput
- func (o ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionOutput
- type ServiceEventRuleActionsInput
- type ServiceEventRuleActionsOutput
- func (o ServiceEventRuleActionsOutput) Annotates() ServiceEventRuleActionsAnnotateArrayOutput
- func (ServiceEventRuleActionsOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsOutput) EventActions() ServiceEventRuleActionsEventActionArrayOutput
- func (o ServiceEventRuleActionsOutput) Extractions() ServiceEventRuleActionsExtractionArrayOutput
- func (o ServiceEventRuleActionsOutput) Priorities() ServiceEventRuleActionsPriorityArrayOutput
- func (o ServiceEventRuleActionsOutput) Severities() ServiceEventRuleActionsSeverityArrayOutput
- func (o ServiceEventRuleActionsOutput) Suppresses() ServiceEventRuleActionsSuppressArrayOutput
- func (o ServiceEventRuleActionsOutput) Suspends() ServiceEventRuleActionsSuspendArrayOutput
- func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput
- func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutputWithContext(ctx context.Context) ServiceEventRuleActionsOutput
- func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput
- func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput
- type ServiceEventRuleActionsPriority
- type ServiceEventRuleActionsPriorityArgs
- func (ServiceEventRuleActionsPriorityArgs) ElementType() reflect.Type
- func (i ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput
- func (i ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityOutput
- type ServiceEventRuleActionsPriorityArray
- func (ServiceEventRuleActionsPriorityArray) ElementType() reflect.Type
- func (i ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput
- func (i ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityArrayOutput
- type ServiceEventRuleActionsPriorityArrayInput
- type ServiceEventRuleActionsPriorityArrayOutput
- func (ServiceEventRuleActionsPriorityArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsPriorityArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleActionsPriorityOutput
- func (o ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput
- func (o ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityArrayOutput
- type ServiceEventRuleActionsPriorityInput
- type ServiceEventRuleActionsPriorityOutput
- func (ServiceEventRuleActionsPriorityOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput
- func (o ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityOutput
- func (o ServiceEventRuleActionsPriorityOutput) Value() pulumi.StringPtrOutput
- type ServiceEventRuleActionsPtrInput
- type ServiceEventRuleActionsPtrOutput
- func (o ServiceEventRuleActionsPtrOutput) Annotates() ServiceEventRuleActionsAnnotateArrayOutput
- func (o ServiceEventRuleActionsPtrOutput) Elem() ServiceEventRuleActionsOutput
- func (ServiceEventRuleActionsPtrOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsPtrOutput) EventActions() ServiceEventRuleActionsEventActionArrayOutput
- func (o ServiceEventRuleActionsPtrOutput) Extractions() ServiceEventRuleActionsExtractionArrayOutput
- func (o ServiceEventRuleActionsPtrOutput) Priorities() ServiceEventRuleActionsPriorityArrayOutput
- func (o ServiceEventRuleActionsPtrOutput) Severities() ServiceEventRuleActionsSeverityArrayOutput
- func (o ServiceEventRuleActionsPtrOutput) Suppresses() ServiceEventRuleActionsSuppressArrayOutput
- func (o ServiceEventRuleActionsPtrOutput) Suspends() ServiceEventRuleActionsSuspendArrayOutput
- func (o ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput
- func (o ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput
- type ServiceEventRuleActionsSeverity
- type ServiceEventRuleActionsSeverityArgs
- func (ServiceEventRuleActionsSeverityArgs) ElementType() reflect.Type
- func (i ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput
- func (i ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityOutput
- type ServiceEventRuleActionsSeverityArray
- func (ServiceEventRuleActionsSeverityArray) ElementType() reflect.Type
- func (i ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput
- func (i ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityArrayOutput
- type ServiceEventRuleActionsSeverityArrayInput
- type ServiceEventRuleActionsSeverityArrayOutput
- func (ServiceEventRuleActionsSeverityArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsSeverityArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleActionsSeverityOutput
- func (o ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput
- func (o ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityArrayOutput
- type ServiceEventRuleActionsSeverityInput
- type ServiceEventRuleActionsSeverityOutput
- func (ServiceEventRuleActionsSeverityOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput
- func (o ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityOutput
- func (o ServiceEventRuleActionsSeverityOutput) Value() pulumi.StringPtrOutput
- type ServiceEventRuleActionsSuppress
- type ServiceEventRuleActionsSuppressArgs
- func (ServiceEventRuleActionsSuppressArgs) ElementType() reflect.Type
- func (i ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput
- func (i ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressOutput
- type ServiceEventRuleActionsSuppressArray
- func (ServiceEventRuleActionsSuppressArray) ElementType() reflect.Type
- func (i ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput
- func (i ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressArrayOutput
- type ServiceEventRuleActionsSuppressArrayInput
- type ServiceEventRuleActionsSuppressArrayOutput
- func (ServiceEventRuleActionsSuppressArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsSuppressArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleActionsSuppressOutput
- func (o ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput
- func (o ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressArrayOutput
- type ServiceEventRuleActionsSuppressInput
- type ServiceEventRuleActionsSuppressOutput
- func (ServiceEventRuleActionsSuppressOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsSuppressOutput) ThresholdTimeAmount() pulumi.IntPtrOutput
- func (o ServiceEventRuleActionsSuppressOutput) ThresholdTimeUnit() pulumi.StringPtrOutput
- func (o ServiceEventRuleActionsSuppressOutput) ThresholdValue() pulumi.IntPtrOutput
- func (o ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput
- func (o ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressOutput
- func (o ServiceEventRuleActionsSuppressOutput) Value() pulumi.BoolPtrOutput
- type ServiceEventRuleActionsSuspend
- type ServiceEventRuleActionsSuspendArgs
- func (ServiceEventRuleActionsSuspendArgs) ElementType() reflect.Type
- func (i ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput
- func (i ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendOutput
- type ServiceEventRuleActionsSuspendArray
- func (ServiceEventRuleActionsSuspendArray) ElementType() reflect.Type
- func (i ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput
- func (i ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendArrayOutput
- type ServiceEventRuleActionsSuspendArrayInput
- type ServiceEventRuleActionsSuspendArrayOutput
- func (ServiceEventRuleActionsSuspendArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsSuspendArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleActionsSuspendOutput
- func (o ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput
- func (o ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendArrayOutput
- type ServiceEventRuleActionsSuspendInput
- type ServiceEventRuleActionsSuspendOutput
- func (ServiceEventRuleActionsSuspendOutput) ElementType() reflect.Type
- func (o ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput
- func (o ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendOutput
- func (o ServiceEventRuleActionsSuspendOutput) Value() pulumi.IntPtrOutput
- type ServiceEventRuleArgs
- type ServiceEventRuleArray
- type ServiceEventRuleArrayInput
- type ServiceEventRuleArrayOutput
- func (ServiceEventRuleArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleOutput
- func (o ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutput() ServiceEventRuleArrayOutput
- func (o ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutputWithContext(ctx context.Context) ServiceEventRuleArrayOutput
- type ServiceEventRuleConditions
- type ServiceEventRuleConditionsArgs
- func (ServiceEventRuleConditionsArgs) ElementType() reflect.Type
- func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput
- func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutputWithContext(ctx context.Context) ServiceEventRuleConditionsOutput
- func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput
- func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput
- type ServiceEventRuleConditionsInput
- type ServiceEventRuleConditionsOutput
- func (ServiceEventRuleConditionsOutput) ElementType() reflect.Type
- func (o ServiceEventRuleConditionsOutput) Operator() pulumi.StringPtrOutput
- func (o ServiceEventRuleConditionsOutput) Subconditions() ServiceEventRuleConditionsSubconditionArrayOutput
- func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput
- func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutputWithContext(ctx context.Context) ServiceEventRuleConditionsOutput
- func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput
- func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput
- type ServiceEventRuleConditionsPtrInput
- type ServiceEventRuleConditionsPtrOutput
- func (o ServiceEventRuleConditionsPtrOutput) Elem() ServiceEventRuleConditionsOutput
- func (ServiceEventRuleConditionsPtrOutput) ElementType() reflect.Type
- func (o ServiceEventRuleConditionsPtrOutput) Operator() pulumi.StringPtrOutput
- func (o ServiceEventRuleConditionsPtrOutput) Subconditions() ServiceEventRuleConditionsSubconditionArrayOutput
- func (o ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput
- func (o ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput
- type ServiceEventRuleConditionsSubcondition
- type ServiceEventRuleConditionsSubconditionArgs
- func (ServiceEventRuleConditionsSubconditionArgs) ElementType() reflect.Type
- func (i ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput
- func (i ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionOutput
- type ServiceEventRuleConditionsSubconditionArray
- func (ServiceEventRuleConditionsSubconditionArray) ElementType() reflect.Type
- func (i ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput
- func (i ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionArrayOutput
- type ServiceEventRuleConditionsSubconditionArrayInput
- type ServiceEventRuleConditionsSubconditionArrayOutput
- func (ServiceEventRuleConditionsSubconditionArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleConditionsSubconditionArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleConditionsSubconditionOutput
- func (o ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput
- func (o ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionArrayOutput
- type ServiceEventRuleConditionsSubconditionInput
- type ServiceEventRuleConditionsSubconditionOutput
- func (ServiceEventRuleConditionsSubconditionOutput) ElementType() reflect.Type
- func (o ServiceEventRuleConditionsSubconditionOutput) Operator() pulumi.StringPtrOutput
- func (o ServiceEventRuleConditionsSubconditionOutput) Parameters() ServiceEventRuleConditionsSubconditionParameterArrayOutput
- func (o ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput
- func (o ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionOutput
- type ServiceEventRuleConditionsSubconditionParameter
- type ServiceEventRuleConditionsSubconditionParameterArgs
- func (ServiceEventRuleConditionsSubconditionParameterArgs) ElementType() reflect.Type
- func (i ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutput() ServiceEventRuleConditionsSubconditionParameterOutput
- func (i ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterOutput
- type ServiceEventRuleConditionsSubconditionParameterArray
- func (ServiceEventRuleConditionsSubconditionParameterArray) ElementType() reflect.Type
- func (i ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutput() ServiceEventRuleConditionsSubconditionParameterArrayOutput
- func (i ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput
- type ServiceEventRuleConditionsSubconditionParameterArrayInput
- type ServiceEventRuleConditionsSubconditionParameterArrayOutput
- func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleConditionsSubconditionParameterArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleConditionsSubconditionParameterOutput
- func (o ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutput() ServiceEventRuleConditionsSubconditionParameterArrayOutput
- func (o ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput
- type ServiceEventRuleConditionsSubconditionParameterInput
- type ServiceEventRuleConditionsSubconditionParameterOutput
- func (ServiceEventRuleConditionsSubconditionParameterOutput) ElementType() reflect.Type
- func (o ServiceEventRuleConditionsSubconditionParameterOutput) Path() pulumi.StringPtrOutput
- func (o ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutput() ServiceEventRuleConditionsSubconditionParameterOutput
- func (o ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterOutput
- func (o ServiceEventRuleConditionsSubconditionParameterOutput) Value() pulumi.StringPtrOutput
- type ServiceEventRuleInput
- type ServiceEventRuleMap
- type ServiceEventRuleMapInput
- type ServiceEventRuleMapOutput
- func (ServiceEventRuleMapOutput) ElementType() reflect.Type
- func (o ServiceEventRuleMapOutput) MapIndex(k pulumi.StringInput) ServiceEventRuleOutput
- func (o ServiceEventRuleMapOutput) ToServiceEventRuleMapOutput() ServiceEventRuleMapOutput
- func (o ServiceEventRuleMapOutput) ToServiceEventRuleMapOutputWithContext(ctx context.Context) ServiceEventRuleMapOutput
- type ServiceEventRuleOutput
- func (ServiceEventRuleOutput) ElementType() reflect.Type
- func (o ServiceEventRuleOutput) ToServiceEventRuleOutput() ServiceEventRuleOutput
- func (o ServiceEventRuleOutput) ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput
- func (o ServiceEventRuleOutput) ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput
- func (o ServiceEventRuleOutput) ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput
- type ServiceEventRulePtrInput
- type ServiceEventRulePtrOutput
- type ServiceEventRuleState
- type ServiceEventRuleTimeFrame
- type ServiceEventRuleTimeFrameActiveBetween
- type ServiceEventRuleTimeFrameActiveBetweenArgs
- func (ServiceEventRuleTimeFrameActiveBetweenArgs) ElementType() reflect.Type
- func (i ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput
- func (i ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput
- type ServiceEventRuleTimeFrameActiveBetweenArray
- func (ServiceEventRuleTimeFrameActiveBetweenArray) ElementType() reflect.Type
- func (i ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput
- func (i ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput
- type ServiceEventRuleTimeFrameActiveBetweenArrayInput
- type ServiceEventRuleTimeFrameActiveBetweenArrayOutput
- func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleTimeFrameActiveBetweenArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleTimeFrameActiveBetweenOutput
- func (o ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput
- func (o ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput
- type ServiceEventRuleTimeFrameActiveBetweenInput
- type ServiceEventRuleTimeFrameActiveBetweenOutput
- func (ServiceEventRuleTimeFrameActiveBetweenOutput) ElementType() reflect.Type
- func (o ServiceEventRuleTimeFrameActiveBetweenOutput) EndTime() pulumi.IntPtrOutput
- func (o ServiceEventRuleTimeFrameActiveBetweenOutput) StartTime() pulumi.IntPtrOutput
- func (o ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput
- func (o ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput
- type ServiceEventRuleTimeFrameArgs
- func (ServiceEventRuleTimeFrameArgs) ElementType() reflect.Type
- func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput
- func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameOutput
- func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput
- func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput
- type ServiceEventRuleTimeFrameInput
- type ServiceEventRuleTimeFrameOutput
- func (o ServiceEventRuleTimeFrameOutput) ActiveBetweens() ServiceEventRuleTimeFrameActiveBetweenArrayOutput
- func (ServiceEventRuleTimeFrameOutput) ElementType() reflect.Type
- func (o ServiceEventRuleTimeFrameOutput) ScheduledWeeklies() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
- func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput
- func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameOutput
- func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput
- func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput
- type ServiceEventRuleTimeFramePtrInput
- type ServiceEventRuleTimeFramePtrOutput
- func (o ServiceEventRuleTimeFramePtrOutput) ActiveBetweens() ServiceEventRuleTimeFrameActiveBetweenArrayOutput
- func (o ServiceEventRuleTimeFramePtrOutput) Elem() ServiceEventRuleTimeFrameOutput
- func (ServiceEventRuleTimeFramePtrOutput) ElementType() reflect.Type
- func (o ServiceEventRuleTimeFramePtrOutput) ScheduledWeeklies() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
- func (o ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput
- func (o ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput
- type ServiceEventRuleTimeFrameScheduledWeekly
- type ServiceEventRuleTimeFrameScheduledWeeklyArgs
- func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ElementType() reflect.Type
- func (i ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput
- func (i ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput
- type ServiceEventRuleTimeFrameScheduledWeeklyArray
- func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ElementType() reflect.Type
- func (i ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
- func (i ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
- type ServiceEventRuleTimeFrameScheduledWeeklyArrayInput
- type ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
- func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleTimeFrameScheduledWeeklyOutput
- func (o ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
- func (o ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
- type ServiceEventRuleTimeFrameScheduledWeeklyInput
- type ServiceEventRuleTimeFrameScheduledWeeklyOutput
- func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) Duration() pulumi.IntPtrOutput
- func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ElementType() reflect.Type
- func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) StartTime() pulumi.IntPtrOutput
- func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) Timezone() pulumi.StringPtrOutput
- func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput
- func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput
- func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) Weekdays() pulumi.IntArrayOutput
- type ServiceEventRuleVariable
- type ServiceEventRuleVariableArgs
- func (ServiceEventRuleVariableArgs) ElementType() reflect.Type
- func (i ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput
- func (i ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutputWithContext(ctx context.Context) ServiceEventRuleVariableOutput
- type ServiceEventRuleVariableArray
- func (ServiceEventRuleVariableArray) ElementType() reflect.Type
- func (i ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput
- func (i ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableArrayOutput
- type ServiceEventRuleVariableArrayInput
- type ServiceEventRuleVariableArrayOutput
- func (ServiceEventRuleVariableArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleVariableArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleVariableOutput
- func (o ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput
- func (o ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableArrayOutput
- type ServiceEventRuleVariableInput
- type ServiceEventRuleVariableOutput
- func (ServiceEventRuleVariableOutput) ElementType() reflect.Type
- func (o ServiceEventRuleVariableOutput) Name() pulumi.StringPtrOutput
- func (o ServiceEventRuleVariableOutput) Parameters() ServiceEventRuleVariableParameterArrayOutput
- func (o ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput
- func (o ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutputWithContext(ctx context.Context) ServiceEventRuleVariableOutput
- func (o ServiceEventRuleVariableOutput) Type() pulumi.StringPtrOutput
- type ServiceEventRuleVariableParameter
- type ServiceEventRuleVariableParameterArgs
- func (ServiceEventRuleVariableParameterArgs) ElementType() reflect.Type
- func (i ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput
- func (i ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterOutput
- type ServiceEventRuleVariableParameterArray
- func (ServiceEventRuleVariableParameterArray) ElementType() reflect.Type
- func (i ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput
- func (i ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterArrayOutput
- type ServiceEventRuleVariableParameterArrayInput
- type ServiceEventRuleVariableParameterArrayOutput
- func (ServiceEventRuleVariableParameterArrayOutput) ElementType() reflect.Type
- func (o ServiceEventRuleVariableParameterArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleVariableParameterOutput
- func (o ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput
- func (o ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterArrayOutput
- type ServiceEventRuleVariableParameterInput
- type ServiceEventRuleVariableParameterOutput
- func (ServiceEventRuleVariableParameterOutput) ElementType() reflect.Type
- func (o ServiceEventRuleVariableParameterOutput) Path() pulumi.StringPtrOutput
- func (o ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput
- func (o ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterOutput
- func (o ServiceEventRuleVariableParameterOutput) Value() pulumi.StringPtrOutput
- type ServiceIncidentUrgencyRule
- type ServiceIncidentUrgencyRuleArgs
- func (ServiceIncidentUrgencyRuleArgs) ElementType() reflect.Type
- func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutput() ServiceIncidentUrgencyRuleOutput
- func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutput
- func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput
- func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRulePtrOutput
- type ServiceIncidentUrgencyRuleDuringSupportHours
- type ServiceIncidentUrgencyRuleDuringSupportHoursArgs
- func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ElementType() reflect.Type
- func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput() ServiceIncidentUrgencyRuleDuringSupportHoursOutput
- func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursOutput
- func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
- func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
- type ServiceIncidentUrgencyRuleDuringSupportHoursInput
- type ServiceIncidentUrgencyRuleDuringSupportHoursOutput
- func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ElementType() reflect.Type
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput() ServiceIncidentUrgencyRuleDuringSupportHoursOutput
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursOutput
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) Type() pulumi.StringPtrOutput
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) Urgency() pulumi.StringPtrOutput
- type ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput
- type ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) Elem() ServiceIncidentUrgencyRuleDuringSupportHoursOutput
- func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ElementType() reflect.Type
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) Type() pulumi.StringPtrOutput
- func (o ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) Urgency() pulumi.StringPtrOutput
- type ServiceIncidentUrgencyRuleInput
- type ServiceIncidentUrgencyRuleOutput
- func (o ServiceIncidentUrgencyRuleOutput) DuringSupportHours() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
- func (ServiceIncidentUrgencyRuleOutput) ElementType() reflect.Type
- func (o ServiceIncidentUrgencyRuleOutput) OutsideSupportHours() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutput() ServiceIncidentUrgencyRuleOutput
- func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutput
- func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput
- func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRulePtrOutput
- func (o ServiceIncidentUrgencyRuleOutput) Type() pulumi.StringOutput
- func (o ServiceIncidentUrgencyRuleOutput) Urgency() pulumi.StringPtrOutput
- type ServiceIncidentUrgencyRuleOutsideSupportHours
- type ServiceIncidentUrgencyRuleOutsideSupportHoursArgs
- func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ElementType() reflect.Type
- func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
- func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
- func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
- func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
- type ServiceIncidentUrgencyRuleOutsideSupportHoursInput
- type ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
- func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ElementType() reflect.Type
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) Type() pulumi.StringPtrOutput
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) Urgency() pulumi.StringPtrOutput
- type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput
- type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) Elem() ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
- func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ElementType() reflect.Type
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) Type() pulumi.StringPtrOutput
- func (o ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) Urgency() pulumi.StringPtrOutput
- type ServiceIncidentUrgencyRulePtrInput
- type ServiceIncidentUrgencyRulePtrOutput
- func (o ServiceIncidentUrgencyRulePtrOutput) DuringSupportHours() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRulePtrOutput) Elem() ServiceIncidentUrgencyRuleOutput
- func (ServiceIncidentUrgencyRulePtrOutput) ElementType() reflect.Type
- func (o ServiceIncidentUrgencyRulePtrOutput) OutsideSupportHours() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
- func (o ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput
- func (o ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRulePtrOutput
- func (o ServiceIncidentUrgencyRulePtrOutput) Type() pulumi.StringPtrOutput
- func (o ServiceIncidentUrgencyRulePtrOutput) Urgency() pulumi.StringPtrOutput
- type ServiceInput
- type ServiceIntegration
- func (*ServiceIntegration) ElementType() reflect.Type
- func (i *ServiceIntegration) ToServiceIntegrationOutput() ServiceIntegrationOutput
- func (i *ServiceIntegration) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput
- func (i *ServiceIntegration) ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput
- func (i *ServiceIntegration) ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput
- type ServiceIntegrationArgs
- type ServiceIntegrationArray
- type ServiceIntegrationArrayInput
- type ServiceIntegrationArrayOutput
- func (ServiceIntegrationArrayOutput) ElementType() reflect.Type
- func (o ServiceIntegrationArrayOutput) Index(i pulumi.IntInput) ServiceIntegrationOutput
- func (o ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutput() ServiceIntegrationArrayOutput
- func (o ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutputWithContext(ctx context.Context) ServiceIntegrationArrayOutput
- type ServiceIntegrationInput
- type ServiceIntegrationMap
- type ServiceIntegrationMapInput
- type ServiceIntegrationMapOutput
- func (ServiceIntegrationMapOutput) ElementType() reflect.Type
- func (o ServiceIntegrationMapOutput) MapIndex(k pulumi.StringInput) ServiceIntegrationOutput
- func (o ServiceIntegrationMapOutput) ToServiceIntegrationMapOutput() ServiceIntegrationMapOutput
- func (o ServiceIntegrationMapOutput) ToServiceIntegrationMapOutputWithContext(ctx context.Context) ServiceIntegrationMapOutput
- type ServiceIntegrationOutput
- func (ServiceIntegrationOutput) ElementType() reflect.Type
- func (o ServiceIntegrationOutput) ToServiceIntegrationOutput() ServiceIntegrationOutput
- func (o ServiceIntegrationOutput) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput
- func (o ServiceIntegrationOutput) ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput
- func (o ServiceIntegrationOutput) ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput
- type ServiceIntegrationPtrInput
- type ServiceIntegrationPtrOutput
- type ServiceIntegrationState
- type ServiceMap
- type ServiceMapInput
- type ServiceMapOutput
- type ServiceOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (o ServiceOutput) ToServicePtrOutput() ServicePtrOutput
- func (o ServiceOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
- type ServicePtrInput
- type ServicePtrOutput
- type ServiceScheduledAction
- type ServiceScheduledActionArgs
- type ServiceScheduledActionArray
- func (ServiceScheduledActionArray) ElementType() reflect.Type
- func (i ServiceScheduledActionArray) ToServiceScheduledActionArrayOutput() ServiceScheduledActionArrayOutput
- func (i ServiceScheduledActionArray) ToServiceScheduledActionArrayOutputWithContext(ctx context.Context) ServiceScheduledActionArrayOutput
- type ServiceScheduledActionArrayInput
- type ServiceScheduledActionArrayOutput
- func (ServiceScheduledActionArrayOutput) ElementType() reflect.Type
- func (o ServiceScheduledActionArrayOutput) Index(i pulumi.IntInput) ServiceScheduledActionOutput
- func (o ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutput() ServiceScheduledActionArrayOutput
- func (o ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutputWithContext(ctx context.Context) ServiceScheduledActionArrayOutput
- type ServiceScheduledActionAt
- type ServiceScheduledActionAtArgs
- func (ServiceScheduledActionAtArgs) ElementType() reflect.Type
- func (i ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutput() ServiceScheduledActionAtOutput
- func (i ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutputWithContext(ctx context.Context) ServiceScheduledActionAtOutput
- type ServiceScheduledActionAtArray
- func (ServiceScheduledActionAtArray) ElementType() reflect.Type
- func (i ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutput() ServiceScheduledActionAtArrayOutput
- func (i ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutputWithContext(ctx context.Context) ServiceScheduledActionAtArrayOutput
- type ServiceScheduledActionAtArrayInput
- type ServiceScheduledActionAtArrayOutput
- func (ServiceScheduledActionAtArrayOutput) ElementType() reflect.Type
- func (o ServiceScheduledActionAtArrayOutput) Index(i pulumi.IntInput) ServiceScheduledActionAtOutput
- func (o ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutput() ServiceScheduledActionAtArrayOutput
- func (o ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutputWithContext(ctx context.Context) ServiceScheduledActionAtArrayOutput
- type ServiceScheduledActionAtInput
- type ServiceScheduledActionAtOutput
- func (ServiceScheduledActionAtOutput) ElementType() reflect.Type
- func (o ServiceScheduledActionAtOutput) Name() pulumi.StringPtrOutput
- func (o ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutput() ServiceScheduledActionAtOutput
- func (o ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutputWithContext(ctx context.Context) ServiceScheduledActionAtOutput
- func (o ServiceScheduledActionAtOutput) Type() pulumi.StringPtrOutput
- type ServiceScheduledActionInput
- type ServiceScheduledActionOutput
- func (o ServiceScheduledActionOutput) Ats() ServiceScheduledActionAtArrayOutput
- func (ServiceScheduledActionOutput) ElementType() reflect.Type
- func (o ServiceScheduledActionOutput) ToServiceScheduledActionOutput() ServiceScheduledActionOutput
- func (o ServiceScheduledActionOutput) ToServiceScheduledActionOutputWithContext(ctx context.Context) ServiceScheduledActionOutput
- func (o ServiceScheduledActionOutput) ToUrgency() pulumi.StringPtrOutput
- func (o ServiceScheduledActionOutput) Type() pulumi.StringPtrOutput
- type ServiceState
- type ServiceSupportHours
- type ServiceSupportHoursArgs
- func (ServiceSupportHoursArgs) ElementType() reflect.Type
- func (i ServiceSupportHoursArgs) ToServiceSupportHoursOutput() ServiceSupportHoursOutput
- func (i ServiceSupportHoursArgs) ToServiceSupportHoursOutputWithContext(ctx context.Context) ServiceSupportHoursOutput
- func (i ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput
- func (i ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutputWithContext(ctx context.Context) ServiceSupportHoursPtrOutput
- type ServiceSupportHoursInput
- type ServiceSupportHoursOutput
- func (o ServiceSupportHoursOutput) DaysOfWeeks() pulumi.IntArrayOutput
- func (ServiceSupportHoursOutput) ElementType() reflect.Type
- func (o ServiceSupportHoursOutput) EndTime() pulumi.StringPtrOutput
- func (o ServiceSupportHoursOutput) StartTime() pulumi.StringPtrOutput
- func (o ServiceSupportHoursOutput) TimeZone() pulumi.StringPtrOutput
- func (o ServiceSupportHoursOutput) ToServiceSupportHoursOutput() ServiceSupportHoursOutput
- func (o ServiceSupportHoursOutput) ToServiceSupportHoursOutputWithContext(ctx context.Context) ServiceSupportHoursOutput
- func (o ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput
- func (o ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutputWithContext(ctx context.Context) ServiceSupportHoursPtrOutput
- func (o ServiceSupportHoursOutput) Type() pulumi.StringPtrOutput
- type ServiceSupportHoursPtrInput
- type ServiceSupportHoursPtrOutput
- func (o ServiceSupportHoursPtrOutput) DaysOfWeeks() pulumi.IntArrayOutput
- func (o ServiceSupportHoursPtrOutput) Elem() ServiceSupportHoursOutput
- func (ServiceSupportHoursPtrOutput) ElementType() reflect.Type
- func (o ServiceSupportHoursPtrOutput) EndTime() pulumi.StringPtrOutput
- func (o ServiceSupportHoursPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o ServiceSupportHoursPtrOutput) TimeZone() pulumi.StringPtrOutput
- func (o ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput
- func (o ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutputWithContext(ctx context.Context) ServiceSupportHoursPtrOutput
- func (o ServiceSupportHoursPtrOutput) Type() pulumi.StringPtrOutput
- type SlackConnection
- func (*SlackConnection) ElementType() reflect.Type
- func (i *SlackConnection) ToSlackConnectionOutput() SlackConnectionOutput
- func (i *SlackConnection) ToSlackConnectionOutputWithContext(ctx context.Context) SlackConnectionOutput
- func (i *SlackConnection) ToSlackConnectionPtrOutput() SlackConnectionPtrOutput
- func (i *SlackConnection) ToSlackConnectionPtrOutputWithContext(ctx context.Context) SlackConnectionPtrOutput
- type SlackConnectionArgs
- type SlackConnectionArray
- type SlackConnectionArrayInput
- type SlackConnectionArrayOutput
- func (SlackConnectionArrayOutput) ElementType() reflect.Type
- func (o SlackConnectionArrayOutput) Index(i pulumi.IntInput) SlackConnectionOutput
- func (o SlackConnectionArrayOutput) ToSlackConnectionArrayOutput() SlackConnectionArrayOutput
- func (o SlackConnectionArrayOutput) ToSlackConnectionArrayOutputWithContext(ctx context.Context) SlackConnectionArrayOutput
- type SlackConnectionConfig
- type SlackConnectionConfigArgs
- type SlackConnectionConfigArray
- func (SlackConnectionConfigArray) ElementType() reflect.Type
- func (i SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutput() SlackConnectionConfigArrayOutput
- func (i SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutputWithContext(ctx context.Context) SlackConnectionConfigArrayOutput
- type SlackConnectionConfigArrayInput
- type SlackConnectionConfigArrayOutput
- func (SlackConnectionConfigArrayOutput) ElementType() reflect.Type
- func (o SlackConnectionConfigArrayOutput) Index(i pulumi.IntInput) SlackConnectionConfigOutput
- func (o SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutput() SlackConnectionConfigArrayOutput
- func (o SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutputWithContext(ctx context.Context) SlackConnectionConfigArrayOutput
- type SlackConnectionConfigInput
- type SlackConnectionConfigOutput
- func (SlackConnectionConfigOutput) ElementType() reflect.Type
- func (o SlackConnectionConfigOutput) Events() pulumi.StringArrayOutput
- func (o SlackConnectionConfigOutput) Priorities() pulumi.StringArrayOutput
- func (o SlackConnectionConfigOutput) ToSlackConnectionConfigOutput() SlackConnectionConfigOutput
- func (o SlackConnectionConfigOutput) ToSlackConnectionConfigOutputWithContext(ctx context.Context) SlackConnectionConfigOutput
- func (o SlackConnectionConfigOutput) Urgency() pulumi.StringPtrOutput
- type SlackConnectionInput
- type SlackConnectionMap
- type SlackConnectionMapInput
- type SlackConnectionMapOutput
- func (SlackConnectionMapOutput) ElementType() reflect.Type
- func (o SlackConnectionMapOutput) MapIndex(k pulumi.StringInput) SlackConnectionOutput
- func (o SlackConnectionMapOutput) ToSlackConnectionMapOutput() SlackConnectionMapOutput
- func (o SlackConnectionMapOutput) ToSlackConnectionMapOutputWithContext(ctx context.Context) SlackConnectionMapOutput
- type SlackConnectionOutput
- func (SlackConnectionOutput) ElementType() reflect.Type
- func (o SlackConnectionOutput) ToSlackConnectionOutput() SlackConnectionOutput
- func (o SlackConnectionOutput) ToSlackConnectionOutputWithContext(ctx context.Context) SlackConnectionOutput
- func (o SlackConnectionOutput) ToSlackConnectionPtrOutput() SlackConnectionPtrOutput
- func (o SlackConnectionOutput) ToSlackConnectionPtrOutputWithContext(ctx context.Context) SlackConnectionPtrOutput
- type SlackConnectionPtrInput
- type SlackConnectionPtrOutput
- type SlackConnectionState
- type Team
- type TeamArgs
- type TeamArray
- type TeamArrayInput
- type TeamArrayOutput
- type TeamInput
- type TeamMap
- type TeamMapInput
- type TeamMapOutput
- type TeamMembership
- func (*TeamMembership) ElementType() reflect.Type
- func (i *TeamMembership) ToTeamMembershipOutput() TeamMembershipOutput
- func (i *TeamMembership) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
- func (i *TeamMembership) ToTeamMembershipPtrOutput() TeamMembershipPtrOutput
- func (i *TeamMembership) ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput
- type TeamMembershipArgs
- type TeamMembershipArray
- type TeamMembershipArrayInput
- type TeamMembershipArrayOutput
- func (TeamMembershipArrayOutput) ElementType() reflect.Type
- func (o TeamMembershipArrayOutput) Index(i pulumi.IntInput) TeamMembershipOutput
- func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput
- func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput
- type TeamMembershipInput
- type TeamMembershipMap
- type TeamMembershipMapInput
- type TeamMembershipMapOutput
- func (TeamMembershipMapOutput) ElementType() reflect.Type
- func (o TeamMembershipMapOutput) MapIndex(k pulumi.StringInput) TeamMembershipOutput
- func (o TeamMembershipMapOutput) ToTeamMembershipMapOutput() TeamMembershipMapOutput
- func (o TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput
- type TeamMembershipOutput
- func (TeamMembershipOutput) ElementType() reflect.Type
- func (o TeamMembershipOutput) ToTeamMembershipOutput() TeamMembershipOutput
- func (o TeamMembershipOutput) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
- func (o TeamMembershipOutput) ToTeamMembershipPtrOutput() TeamMembershipPtrOutput
- func (o TeamMembershipOutput) ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput
- type TeamMembershipPtrInput
- type TeamMembershipPtrOutput
- type TeamMembershipState
- type TeamOutput
- func (TeamOutput) ElementType() reflect.Type
- func (o TeamOutput) ToTeamOutput() TeamOutput
- func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput
- func (o TeamOutput) ToTeamPtrOutput() TeamPtrOutput
- func (o TeamOutput) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput
- type TeamPtrInput
- type TeamPtrOutput
- type TeamState
- type User
- type UserArgs
- type UserArray
- type UserArrayInput
- type UserArrayOutput
- type UserContactMethod
- func (*UserContactMethod) ElementType() reflect.Type
- func (i *UserContactMethod) ToUserContactMethodOutput() UserContactMethodOutput
- func (i *UserContactMethod) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput
- func (i *UserContactMethod) ToUserContactMethodPtrOutput() UserContactMethodPtrOutput
- func (i *UserContactMethod) ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput
- type UserContactMethodArgs
- type UserContactMethodArray
- type UserContactMethodArrayInput
- type UserContactMethodArrayOutput
- func (UserContactMethodArrayOutput) ElementType() reflect.Type
- func (o UserContactMethodArrayOutput) Index(i pulumi.IntInput) UserContactMethodOutput
- func (o UserContactMethodArrayOutput) ToUserContactMethodArrayOutput() UserContactMethodArrayOutput
- func (o UserContactMethodArrayOutput) ToUserContactMethodArrayOutputWithContext(ctx context.Context) UserContactMethodArrayOutput
- type UserContactMethodInput
- type UserContactMethodMap
- type UserContactMethodMapInput
- type UserContactMethodMapOutput
- func (UserContactMethodMapOutput) ElementType() reflect.Type
- func (o UserContactMethodMapOutput) MapIndex(k pulumi.StringInput) UserContactMethodOutput
- func (o UserContactMethodMapOutput) ToUserContactMethodMapOutput() UserContactMethodMapOutput
- func (o UserContactMethodMapOutput) ToUserContactMethodMapOutputWithContext(ctx context.Context) UserContactMethodMapOutput
- type UserContactMethodOutput
- func (UserContactMethodOutput) ElementType() reflect.Type
- func (o UserContactMethodOutput) ToUserContactMethodOutput() UserContactMethodOutput
- func (o UserContactMethodOutput) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput
- func (o UserContactMethodOutput) ToUserContactMethodPtrOutput() UserContactMethodPtrOutput
- func (o UserContactMethodOutput) ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput
- type UserContactMethodPtrInput
- type UserContactMethodPtrOutput
- type UserContactMethodState
- type UserInput
- type UserMap
- type UserMapInput
- type UserMapOutput
- type UserNotificationRule
- func (*UserNotificationRule) ElementType() reflect.Type
- func (i *UserNotificationRule) ToUserNotificationRuleOutput() UserNotificationRuleOutput
- func (i *UserNotificationRule) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput
- func (i *UserNotificationRule) ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput
- func (i *UserNotificationRule) ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput
- type UserNotificationRuleArgs
- type UserNotificationRuleArray
- type UserNotificationRuleArrayInput
- type UserNotificationRuleArrayOutput
- func (UserNotificationRuleArrayOutput) ElementType() reflect.Type
- func (o UserNotificationRuleArrayOutput) Index(i pulumi.IntInput) UserNotificationRuleOutput
- func (o UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutput() UserNotificationRuleArrayOutput
- func (o UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutputWithContext(ctx context.Context) UserNotificationRuleArrayOutput
- type UserNotificationRuleContactMethod
- type UserNotificationRuleContactMethodArgs
- func (UserNotificationRuleContactMethodArgs) ElementType() reflect.Type
- func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutput() UserNotificationRuleContactMethodOutput
- func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodOutput
- func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput
- func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodPtrOutput
- type UserNotificationRuleContactMethodInput
- type UserNotificationRuleContactMethodOutput
- func (UserNotificationRuleContactMethodOutput) ElementType() reflect.Type
- func (o UserNotificationRuleContactMethodOutput) Id() pulumi.StringOutput
- func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutput() UserNotificationRuleContactMethodOutput
- func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodOutput
- func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput
- func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodPtrOutput
- func (o UserNotificationRuleContactMethodOutput) Type() pulumi.StringOutput
- type UserNotificationRuleContactMethodPtrInput
- type UserNotificationRuleContactMethodPtrOutput
- func (o UserNotificationRuleContactMethodPtrOutput) Elem() UserNotificationRuleContactMethodOutput
- func (UserNotificationRuleContactMethodPtrOutput) ElementType() reflect.Type
- func (o UserNotificationRuleContactMethodPtrOutput) Id() pulumi.StringPtrOutput
- func (o UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput
- func (o UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodPtrOutput
- func (o UserNotificationRuleContactMethodPtrOutput) Type() pulumi.StringPtrOutput
- type UserNotificationRuleInput
- type UserNotificationRuleMap
- type UserNotificationRuleMapInput
- type UserNotificationRuleMapOutput
- func (UserNotificationRuleMapOutput) ElementType() reflect.Type
- func (o UserNotificationRuleMapOutput) MapIndex(k pulumi.StringInput) UserNotificationRuleOutput
- func (o UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutput() UserNotificationRuleMapOutput
- func (o UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutputWithContext(ctx context.Context) UserNotificationRuleMapOutput
- type UserNotificationRuleOutput
- func (UserNotificationRuleOutput) ElementType() reflect.Type
- func (o UserNotificationRuleOutput) ToUserNotificationRuleOutput() UserNotificationRuleOutput
- func (o UserNotificationRuleOutput) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput
- func (o UserNotificationRuleOutput) ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput
- func (o UserNotificationRuleOutput) ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput
- type UserNotificationRulePtrInput
- type UserNotificationRulePtrOutput
- type UserNotificationRuleState
- type UserOutput
- func (UserOutput) ElementType() reflect.Type
- func (o UserOutput) ToUserOutput() UserOutput
- func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
- func (o UserOutput) ToUserPtrOutput() UserPtrOutput
- func (o UserOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput
- type UserPtrInput
- type UserPtrOutput
- type UserState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package.
Types ¶
type Addon ¶
type Addon struct { pulumi.CustomResourceState // The name of the add-on. Name pulumi.StringOutput `pulumi:"name"` // The source URL to display in a frame in the PagerDuty UI. `HTTPS` is required. Src pulumi.StringOutput `pulumi:"src"` }
With [add-ons](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Add-ons/get_addons), third-party developers can write their own add-ons to PagerDuty's UI. Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.NewAddon(ctx, "example", &pagerduty.AddonArgs{ Src: pulumi.String("https://intranet.example.com/status"), }) if err != nil { return err } return nil }) }
```
## Import
Add-ons can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/addon:Addon example P3DH5M6
```
func GetAddon ¶
func GetAddon(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AddonState, opts ...pulumi.ResourceOption) (*Addon, error)
GetAddon gets an existing Addon 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 NewAddon ¶
func NewAddon(ctx *pulumi.Context, name string, args *AddonArgs, opts ...pulumi.ResourceOption) (*Addon, error)
NewAddon registers a new resource with the given unique name, arguments, and options.
func (*Addon) ElementType ¶
func (*Addon) ToAddonOutput ¶
func (i *Addon) ToAddonOutput() AddonOutput
func (*Addon) ToAddonOutputWithContext ¶
func (i *Addon) ToAddonOutputWithContext(ctx context.Context) AddonOutput
func (*Addon) ToAddonPtrOutput ¶
func (i *Addon) ToAddonPtrOutput() AddonPtrOutput
func (*Addon) ToAddonPtrOutputWithContext ¶
func (i *Addon) ToAddonPtrOutputWithContext(ctx context.Context) AddonPtrOutput
type AddonArgs ¶
type AddonArgs struct { // The name of the add-on. Name pulumi.StringPtrInput // The source URL to display in a frame in the PagerDuty UI. `HTTPS` is required. Src pulumi.StringInput }
The set of arguments for constructing a Addon resource.
func (AddonArgs) ElementType ¶
type AddonArray ¶
type AddonArray []AddonInput
func (AddonArray) ElementType ¶
func (AddonArray) ElementType() reflect.Type
func (AddonArray) ToAddonArrayOutput ¶
func (i AddonArray) ToAddonArrayOutput() AddonArrayOutput
func (AddonArray) ToAddonArrayOutputWithContext ¶
func (i AddonArray) ToAddonArrayOutputWithContext(ctx context.Context) AddonArrayOutput
type AddonArrayInput ¶
type AddonArrayInput interface { pulumi.Input ToAddonArrayOutput() AddonArrayOutput ToAddonArrayOutputWithContext(context.Context) AddonArrayOutput }
AddonArrayInput is an input type that accepts AddonArray and AddonArrayOutput values. You can construct a concrete instance of `AddonArrayInput` via:
AddonArray{ AddonArgs{...} }
type AddonArrayOutput ¶
type AddonArrayOutput struct{ *pulumi.OutputState }
func (AddonArrayOutput) ElementType ¶
func (AddonArrayOutput) ElementType() reflect.Type
func (AddonArrayOutput) Index ¶
func (o AddonArrayOutput) Index(i pulumi.IntInput) AddonOutput
func (AddonArrayOutput) ToAddonArrayOutput ¶
func (o AddonArrayOutput) ToAddonArrayOutput() AddonArrayOutput
func (AddonArrayOutput) ToAddonArrayOutputWithContext ¶
func (o AddonArrayOutput) ToAddonArrayOutputWithContext(ctx context.Context) AddonArrayOutput
type AddonInput ¶
type AddonInput interface { pulumi.Input ToAddonOutput() AddonOutput ToAddonOutputWithContext(ctx context.Context) AddonOutput }
type AddonMap ¶
type AddonMap map[string]AddonInput
func (AddonMap) ElementType ¶
func (AddonMap) ToAddonMapOutput ¶
func (i AddonMap) ToAddonMapOutput() AddonMapOutput
func (AddonMap) ToAddonMapOutputWithContext ¶
func (i AddonMap) ToAddonMapOutputWithContext(ctx context.Context) AddonMapOutput
type AddonMapInput ¶
type AddonMapInput interface { pulumi.Input ToAddonMapOutput() AddonMapOutput ToAddonMapOutputWithContext(context.Context) AddonMapOutput }
AddonMapInput is an input type that accepts AddonMap and AddonMapOutput values. You can construct a concrete instance of `AddonMapInput` via:
AddonMap{ "key": AddonArgs{...} }
type AddonMapOutput ¶
type AddonMapOutput struct{ *pulumi.OutputState }
func (AddonMapOutput) ElementType ¶
func (AddonMapOutput) ElementType() reflect.Type
func (AddonMapOutput) MapIndex ¶
func (o AddonMapOutput) MapIndex(k pulumi.StringInput) AddonOutput
func (AddonMapOutput) ToAddonMapOutput ¶
func (o AddonMapOutput) ToAddonMapOutput() AddonMapOutput
func (AddonMapOutput) ToAddonMapOutputWithContext ¶
func (o AddonMapOutput) ToAddonMapOutputWithContext(ctx context.Context) AddonMapOutput
type AddonOutput ¶
type AddonOutput struct {
*pulumi.OutputState
}
func (AddonOutput) ElementType ¶
func (AddonOutput) ElementType() reflect.Type
func (AddonOutput) ToAddonOutput ¶
func (o AddonOutput) ToAddonOutput() AddonOutput
func (AddonOutput) ToAddonOutputWithContext ¶
func (o AddonOutput) ToAddonOutputWithContext(ctx context.Context) AddonOutput
func (AddonOutput) ToAddonPtrOutput ¶
func (o AddonOutput) ToAddonPtrOutput() AddonPtrOutput
func (AddonOutput) ToAddonPtrOutputWithContext ¶
func (o AddonOutput) ToAddonPtrOutputWithContext(ctx context.Context) AddonPtrOutput
type AddonPtrInput ¶
type AddonPtrInput interface { pulumi.Input ToAddonPtrOutput() AddonPtrOutput ToAddonPtrOutputWithContext(ctx context.Context) AddonPtrOutput }
type AddonPtrOutput ¶
type AddonPtrOutput struct {
*pulumi.OutputState
}
func (AddonPtrOutput) ElementType ¶
func (AddonPtrOutput) ElementType() reflect.Type
func (AddonPtrOutput) ToAddonPtrOutput ¶
func (o AddonPtrOutput) ToAddonPtrOutput() AddonPtrOutput
func (AddonPtrOutput) ToAddonPtrOutputWithContext ¶
func (o AddonPtrOutput) ToAddonPtrOutputWithContext(ctx context.Context) AddonPtrOutput
type AddonState ¶
type AddonState struct { // The name of the add-on. Name pulumi.StringPtrInput // The source URL to display in a frame in the PagerDuty UI. `HTTPS` is required. Src pulumi.StringPtrInput }
func (AddonState) ElementType ¶
func (AddonState) ElementType() reflect.Type
type BusinessService ¶
type BusinessService struct { pulumi.CustomResourceState Description pulumi.StringOutput `pulumi:"description"` HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"` // The name of the business service. Name pulumi.StringOutput `pulumi:"name"` // The owner of the business service. PointOfContact pulumi.StringPtrOutput `pulumi:"pointOfContact"` Self pulumi.StringOutput `pulumi:"self"` Summary pulumi.StringOutput `pulumi:"summary"` // ID of the team that owns the business service. Team pulumi.StringPtrOutput `pulumi:"team"` // Default value is `businessService`. Can also be set as `businessServiceReference`. Type pulumi.StringPtrOutput `pulumi:"type"` }
A [business service](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1business_services/get) allows you to model capabilities that span multiple technical services and that may be owned by several different teams.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.NewBusinessService(ctx, "example", &pagerduty.BusinessServiceArgs{ Description: pulumi.String("A very descriptive description of this business service"), PointOfContact: pulumi.String("PagerDuty Admin"), Team: pulumi.String("P37RSRS"), }) if err != nil { return err } return nil }) }
```
## Import
Services can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/businessService:BusinessService main PLBP09X
```
func GetBusinessService ¶
func GetBusinessService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BusinessServiceState, opts ...pulumi.ResourceOption) (*BusinessService, error)
GetBusinessService gets an existing BusinessService 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 NewBusinessService ¶
func NewBusinessService(ctx *pulumi.Context, name string, args *BusinessServiceArgs, opts ...pulumi.ResourceOption) (*BusinessService, error)
NewBusinessService registers a new resource with the given unique name, arguments, and options.
func (*BusinessService) ElementType ¶
func (*BusinessService) ElementType() reflect.Type
func (*BusinessService) ToBusinessServiceOutput ¶
func (i *BusinessService) ToBusinessServiceOutput() BusinessServiceOutput
func (*BusinessService) ToBusinessServiceOutputWithContext ¶
func (i *BusinessService) ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput
func (*BusinessService) ToBusinessServicePtrOutput ¶
func (i *BusinessService) ToBusinessServicePtrOutput() BusinessServicePtrOutput
func (*BusinessService) ToBusinessServicePtrOutputWithContext ¶
func (i *BusinessService) ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput
type BusinessServiceArgs ¶
type BusinessServiceArgs struct { Description pulumi.StringPtrInput // The name of the business service. Name pulumi.StringPtrInput // The owner of the business service. PointOfContact pulumi.StringPtrInput // ID of the team that owns the business service. Team pulumi.StringPtrInput // Default value is `businessService`. Can also be set as `businessServiceReference`. Type pulumi.StringPtrInput }
The set of arguments for constructing a BusinessService resource.
func (BusinessServiceArgs) ElementType ¶
func (BusinessServiceArgs) ElementType() reflect.Type
type BusinessServiceArray ¶
type BusinessServiceArray []BusinessServiceInput
func (BusinessServiceArray) ElementType ¶
func (BusinessServiceArray) ElementType() reflect.Type
func (BusinessServiceArray) ToBusinessServiceArrayOutput ¶
func (i BusinessServiceArray) ToBusinessServiceArrayOutput() BusinessServiceArrayOutput
func (BusinessServiceArray) ToBusinessServiceArrayOutputWithContext ¶
func (i BusinessServiceArray) ToBusinessServiceArrayOutputWithContext(ctx context.Context) BusinessServiceArrayOutput
type BusinessServiceArrayInput ¶
type BusinessServiceArrayInput interface { pulumi.Input ToBusinessServiceArrayOutput() BusinessServiceArrayOutput ToBusinessServiceArrayOutputWithContext(context.Context) BusinessServiceArrayOutput }
BusinessServiceArrayInput is an input type that accepts BusinessServiceArray and BusinessServiceArrayOutput values. You can construct a concrete instance of `BusinessServiceArrayInput` via:
BusinessServiceArray{ BusinessServiceArgs{...} }
type BusinessServiceArrayOutput ¶
type BusinessServiceArrayOutput struct{ *pulumi.OutputState }
func (BusinessServiceArrayOutput) ElementType ¶
func (BusinessServiceArrayOutput) ElementType() reflect.Type
func (BusinessServiceArrayOutput) Index ¶
func (o BusinessServiceArrayOutput) Index(i pulumi.IntInput) BusinessServiceOutput
func (BusinessServiceArrayOutput) ToBusinessServiceArrayOutput ¶
func (o BusinessServiceArrayOutput) ToBusinessServiceArrayOutput() BusinessServiceArrayOutput
func (BusinessServiceArrayOutput) ToBusinessServiceArrayOutputWithContext ¶
func (o BusinessServiceArrayOutput) ToBusinessServiceArrayOutputWithContext(ctx context.Context) BusinessServiceArrayOutput
type BusinessServiceInput ¶
type BusinessServiceInput interface { pulumi.Input ToBusinessServiceOutput() BusinessServiceOutput ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput }
type BusinessServiceMap ¶
type BusinessServiceMap map[string]BusinessServiceInput
func (BusinessServiceMap) ElementType ¶
func (BusinessServiceMap) ElementType() reflect.Type
func (BusinessServiceMap) ToBusinessServiceMapOutput ¶
func (i BusinessServiceMap) ToBusinessServiceMapOutput() BusinessServiceMapOutput
func (BusinessServiceMap) ToBusinessServiceMapOutputWithContext ¶
func (i BusinessServiceMap) ToBusinessServiceMapOutputWithContext(ctx context.Context) BusinessServiceMapOutput
type BusinessServiceMapInput ¶
type BusinessServiceMapInput interface { pulumi.Input ToBusinessServiceMapOutput() BusinessServiceMapOutput ToBusinessServiceMapOutputWithContext(context.Context) BusinessServiceMapOutput }
BusinessServiceMapInput is an input type that accepts BusinessServiceMap and BusinessServiceMapOutput values. You can construct a concrete instance of `BusinessServiceMapInput` via:
BusinessServiceMap{ "key": BusinessServiceArgs{...} }
type BusinessServiceMapOutput ¶
type BusinessServiceMapOutput struct{ *pulumi.OutputState }
func (BusinessServiceMapOutput) ElementType ¶
func (BusinessServiceMapOutput) ElementType() reflect.Type
func (BusinessServiceMapOutput) MapIndex ¶
func (o BusinessServiceMapOutput) MapIndex(k pulumi.StringInput) BusinessServiceOutput
func (BusinessServiceMapOutput) ToBusinessServiceMapOutput ¶
func (o BusinessServiceMapOutput) ToBusinessServiceMapOutput() BusinessServiceMapOutput
func (BusinessServiceMapOutput) ToBusinessServiceMapOutputWithContext ¶
func (o BusinessServiceMapOutput) ToBusinessServiceMapOutputWithContext(ctx context.Context) BusinessServiceMapOutput
type BusinessServiceOutput ¶
type BusinessServiceOutput struct {
*pulumi.OutputState
}
func (BusinessServiceOutput) ElementType ¶
func (BusinessServiceOutput) ElementType() reflect.Type
func (BusinessServiceOutput) ToBusinessServiceOutput ¶
func (o BusinessServiceOutput) ToBusinessServiceOutput() BusinessServiceOutput
func (BusinessServiceOutput) ToBusinessServiceOutputWithContext ¶
func (o BusinessServiceOutput) ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput
func (BusinessServiceOutput) ToBusinessServicePtrOutput ¶
func (o BusinessServiceOutput) ToBusinessServicePtrOutput() BusinessServicePtrOutput
func (BusinessServiceOutput) ToBusinessServicePtrOutputWithContext ¶
func (o BusinessServiceOutput) ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput
type BusinessServicePtrInput ¶
type BusinessServicePtrInput interface { pulumi.Input ToBusinessServicePtrOutput() BusinessServicePtrOutput ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput }
type BusinessServicePtrOutput ¶
type BusinessServicePtrOutput struct {
*pulumi.OutputState
}
func (BusinessServicePtrOutput) ElementType ¶
func (BusinessServicePtrOutput) ElementType() reflect.Type
func (BusinessServicePtrOutput) ToBusinessServicePtrOutput ¶
func (o BusinessServicePtrOutput) ToBusinessServicePtrOutput() BusinessServicePtrOutput
func (BusinessServicePtrOutput) ToBusinessServicePtrOutputWithContext ¶
func (o BusinessServicePtrOutput) ToBusinessServicePtrOutputWithContext(ctx context.Context) BusinessServicePtrOutput
type BusinessServiceState ¶
type BusinessServiceState struct { Description pulumi.StringPtrInput HtmlUrl pulumi.StringPtrInput // The name of the business service. Name pulumi.StringPtrInput // The owner of the business service. PointOfContact pulumi.StringPtrInput Self pulumi.StringPtrInput Summary pulumi.StringPtrInput // ID of the team that owns the business service. Team pulumi.StringPtrInput // Default value is `businessService`. Can also be set as `businessServiceReference`. Type pulumi.StringPtrInput }
func (BusinessServiceState) ElementType ¶
func (BusinessServiceState) ElementType() reflect.Type
type EscalationPolicy ¶
type EscalationPolicy struct { pulumi.CustomResourceState Description pulumi.StringOutput `pulumi:"description"` // The name of the escalation policy. Name pulumi.StringOutput `pulumi:"name"` // The number of times the escalation policy will repeat after reaching the end of its escalation. NumLoops pulumi.IntPtrOutput `pulumi:"numLoops"` // An Escalation rule block. Escalation rules documented below. Rules EscalationPolicyRuleArrayOutput `pulumi:"rules"` // Teams associated with the policy. Account must have the `teams` ability to use this parameter. Teams pulumi.StringArrayOutput `pulumi:"teams"` }
An [escalation policy](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1escalation_policies/get) determines what user or schedule will be notified first, second, and so on when an incident is triggered. Escalation policies are used by one or more services.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleTeam, err := pagerduty.NewTeam(ctx, "exampleTeam", &pagerduty.TeamArgs{ Description: pulumi.String("All engineering"), }) if err != nil { return err } exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{ Email: pulumi.String("125.greenholt.earline@graham.name"), Teams: pulumi.StringArray{ exampleTeam.ID(), }, }) if err != nil { return err } _, err = pagerduty.NewEscalationPolicy(ctx, "exampleEscalationPolicy", &pagerduty.EscalationPolicyArgs{ NumLoops: pulumi.Int(2), Teams: pulumi.StringArray{ exampleTeam.ID(), }, Rules: pagerduty.EscalationPolicyRuleArray{ &pagerduty.EscalationPolicyRuleArgs{ EscalationDelayInMinutes: pulumi.Int(10), Targets: pagerduty.EscalationPolicyRuleTargetArray{ &pagerduty.EscalationPolicyRuleTargetArgs{ Type: pulumi.String("user"), Id: exampleUser.ID(), }, &pagerduty.EscalationPolicyRuleTargetArgs{ Type: pulumi.String("user"), Id: pulumi.Any(pagerduty_user.Example2.Id), }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Escalation policies can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/escalationPolicy:EscalationPolicy main PLBP09X
```
func GetEscalationPolicy ¶
func GetEscalationPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EscalationPolicyState, opts ...pulumi.ResourceOption) (*EscalationPolicy, error)
GetEscalationPolicy gets an existing EscalationPolicy 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 NewEscalationPolicy ¶
func NewEscalationPolicy(ctx *pulumi.Context, name string, args *EscalationPolicyArgs, opts ...pulumi.ResourceOption) (*EscalationPolicy, error)
NewEscalationPolicy registers a new resource with the given unique name, arguments, and options.
func (*EscalationPolicy) ElementType ¶
func (*EscalationPolicy) ElementType() reflect.Type
func (*EscalationPolicy) ToEscalationPolicyOutput ¶
func (i *EscalationPolicy) ToEscalationPolicyOutput() EscalationPolicyOutput
func (*EscalationPolicy) ToEscalationPolicyOutputWithContext ¶
func (i *EscalationPolicy) ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput
func (*EscalationPolicy) ToEscalationPolicyPtrOutput ¶
func (i *EscalationPolicy) ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput
func (*EscalationPolicy) ToEscalationPolicyPtrOutputWithContext ¶
func (i *EscalationPolicy) ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput
type EscalationPolicyArgs ¶
type EscalationPolicyArgs struct { Description pulumi.StringPtrInput // The name of the escalation policy. Name pulumi.StringPtrInput // The number of times the escalation policy will repeat after reaching the end of its escalation. NumLoops pulumi.IntPtrInput // An Escalation rule block. Escalation rules documented below. Rules EscalationPolicyRuleArrayInput // Teams associated with the policy. Account must have the `teams` ability to use this parameter. Teams pulumi.StringArrayInput }
The set of arguments for constructing a EscalationPolicy resource.
func (EscalationPolicyArgs) ElementType ¶
func (EscalationPolicyArgs) ElementType() reflect.Type
type EscalationPolicyArray ¶
type EscalationPolicyArray []EscalationPolicyInput
func (EscalationPolicyArray) ElementType ¶
func (EscalationPolicyArray) ElementType() reflect.Type
func (EscalationPolicyArray) ToEscalationPolicyArrayOutput ¶
func (i EscalationPolicyArray) ToEscalationPolicyArrayOutput() EscalationPolicyArrayOutput
func (EscalationPolicyArray) ToEscalationPolicyArrayOutputWithContext ¶
func (i EscalationPolicyArray) ToEscalationPolicyArrayOutputWithContext(ctx context.Context) EscalationPolicyArrayOutput
type EscalationPolicyArrayInput ¶
type EscalationPolicyArrayInput interface { pulumi.Input ToEscalationPolicyArrayOutput() EscalationPolicyArrayOutput ToEscalationPolicyArrayOutputWithContext(context.Context) EscalationPolicyArrayOutput }
EscalationPolicyArrayInput is an input type that accepts EscalationPolicyArray and EscalationPolicyArrayOutput values. You can construct a concrete instance of `EscalationPolicyArrayInput` via:
EscalationPolicyArray{ EscalationPolicyArgs{...} }
type EscalationPolicyArrayOutput ¶
type EscalationPolicyArrayOutput struct{ *pulumi.OutputState }
func (EscalationPolicyArrayOutput) ElementType ¶
func (EscalationPolicyArrayOutput) ElementType() reflect.Type
func (EscalationPolicyArrayOutput) Index ¶
func (o EscalationPolicyArrayOutput) Index(i pulumi.IntInput) EscalationPolicyOutput
func (EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutput ¶
func (o EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutput() EscalationPolicyArrayOutput
func (EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutputWithContext ¶
func (o EscalationPolicyArrayOutput) ToEscalationPolicyArrayOutputWithContext(ctx context.Context) EscalationPolicyArrayOutput
type EscalationPolicyInput ¶
type EscalationPolicyInput interface { pulumi.Input ToEscalationPolicyOutput() EscalationPolicyOutput ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput }
type EscalationPolicyMap ¶
type EscalationPolicyMap map[string]EscalationPolicyInput
func (EscalationPolicyMap) ElementType ¶
func (EscalationPolicyMap) ElementType() reflect.Type
func (EscalationPolicyMap) ToEscalationPolicyMapOutput ¶
func (i EscalationPolicyMap) ToEscalationPolicyMapOutput() EscalationPolicyMapOutput
func (EscalationPolicyMap) ToEscalationPolicyMapOutputWithContext ¶
func (i EscalationPolicyMap) ToEscalationPolicyMapOutputWithContext(ctx context.Context) EscalationPolicyMapOutput
type EscalationPolicyMapInput ¶
type EscalationPolicyMapInput interface { pulumi.Input ToEscalationPolicyMapOutput() EscalationPolicyMapOutput ToEscalationPolicyMapOutputWithContext(context.Context) EscalationPolicyMapOutput }
EscalationPolicyMapInput is an input type that accepts EscalationPolicyMap and EscalationPolicyMapOutput values. You can construct a concrete instance of `EscalationPolicyMapInput` via:
EscalationPolicyMap{ "key": EscalationPolicyArgs{...} }
type EscalationPolicyMapOutput ¶
type EscalationPolicyMapOutput struct{ *pulumi.OutputState }
func (EscalationPolicyMapOutput) ElementType ¶
func (EscalationPolicyMapOutput) ElementType() reflect.Type
func (EscalationPolicyMapOutput) MapIndex ¶
func (o EscalationPolicyMapOutput) MapIndex(k pulumi.StringInput) EscalationPolicyOutput
func (EscalationPolicyMapOutput) ToEscalationPolicyMapOutput ¶
func (o EscalationPolicyMapOutput) ToEscalationPolicyMapOutput() EscalationPolicyMapOutput
func (EscalationPolicyMapOutput) ToEscalationPolicyMapOutputWithContext ¶
func (o EscalationPolicyMapOutput) ToEscalationPolicyMapOutputWithContext(ctx context.Context) EscalationPolicyMapOutput
type EscalationPolicyOutput ¶
type EscalationPolicyOutput struct {
*pulumi.OutputState
}
func (EscalationPolicyOutput) ElementType ¶
func (EscalationPolicyOutput) ElementType() reflect.Type
func (EscalationPolicyOutput) ToEscalationPolicyOutput ¶
func (o EscalationPolicyOutput) ToEscalationPolicyOutput() EscalationPolicyOutput
func (EscalationPolicyOutput) ToEscalationPolicyOutputWithContext ¶
func (o EscalationPolicyOutput) ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput
func (EscalationPolicyOutput) ToEscalationPolicyPtrOutput ¶
func (o EscalationPolicyOutput) ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput
func (EscalationPolicyOutput) ToEscalationPolicyPtrOutputWithContext ¶
func (o EscalationPolicyOutput) ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput
type EscalationPolicyPtrInput ¶
type EscalationPolicyPtrInput interface { pulumi.Input ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput }
type EscalationPolicyPtrOutput ¶
type EscalationPolicyPtrOutput struct {
*pulumi.OutputState
}
func (EscalationPolicyPtrOutput) ElementType ¶
func (EscalationPolicyPtrOutput) ElementType() reflect.Type
func (EscalationPolicyPtrOutput) ToEscalationPolicyPtrOutput ¶
func (o EscalationPolicyPtrOutput) ToEscalationPolicyPtrOutput() EscalationPolicyPtrOutput
func (EscalationPolicyPtrOutput) ToEscalationPolicyPtrOutputWithContext ¶
func (o EscalationPolicyPtrOutput) ToEscalationPolicyPtrOutputWithContext(ctx context.Context) EscalationPolicyPtrOutput
type EscalationPolicyRule ¶
type EscalationPolicyRule struct { // The number of minutes before an unacknowledged incident escalates away from this rule. EscalationDelayInMinutes int `pulumi:"escalationDelayInMinutes"` // A target ID Id *string `pulumi:"id"` Targets []EscalationPolicyRuleTarget `pulumi:"targets"` }
type EscalationPolicyRuleArgs ¶
type EscalationPolicyRuleArgs struct { // The number of minutes before an unacknowledged incident escalates away from this rule. EscalationDelayInMinutes pulumi.IntInput `pulumi:"escalationDelayInMinutes"` // A target ID Id pulumi.StringPtrInput `pulumi:"id"` Targets EscalationPolicyRuleTargetArrayInput `pulumi:"targets"` }
func (EscalationPolicyRuleArgs) ElementType ¶
func (EscalationPolicyRuleArgs) ElementType() reflect.Type
func (EscalationPolicyRuleArgs) ToEscalationPolicyRuleOutput ¶
func (i EscalationPolicyRuleArgs) ToEscalationPolicyRuleOutput() EscalationPolicyRuleOutput
func (EscalationPolicyRuleArgs) ToEscalationPolicyRuleOutputWithContext ¶
func (i EscalationPolicyRuleArgs) ToEscalationPolicyRuleOutputWithContext(ctx context.Context) EscalationPolicyRuleOutput
type EscalationPolicyRuleArray ¶
type EscalationPolicyRuleArray []EscalationPolicyRuleInput
func (EscalationPolicyRuleArray) ElementType ¶
func (EscalationPolicyRuleArray) ElementType() reflect.Type
func (EscalationPolicyRuleArray) ToEscalationPolicyRuleArrayOutput ¶
func (i EscalationPolicyRuleArray) ToEscalationPolicyRuleArrayOutput() EscalationPolicyRuleArrayOutput
func (EscalationPolicyRuleArray) ToEscalationPolicyRuleArrayOutputWithContext ¶
func (i EscalationPolicyRuleArray) ToEscalationPolicyRuleArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleArrayOutput
type EscalationPolicyRuleArrayInput ¶
type EscalationPolicyRuleArrayInput interface { pulumi.Input ToEscalationPolicyRuleArrayOutput() EscalationPolicyRuleArrayOutput ToEscalationPolicyRuleArrayOutputWithContext(context.Context) EscalationPolicyRuleArrayOutput }
EscalationPolicyRuleArrayInput is an input type that accepts EscalationPolicyRuleArray and EscalationPolicyRuleArrayOutput values. You can construct a concrete instance of `EscalationPolicyRuleArrayInput` via:
EscalationPolicyRuleArray{ EscalationPolicyRuleArgs{...} }
type EscalationPolicyRuleArrayOutput ¶
type EscalationPolicyRuleArrayOutput struct{ *pulumi.OutputState }
func (EscalationPolicyRuleArrayOutput) ElementType ¶
func (EscalationPolicyRuleArrayOutput) ElementType() reflect.Type
func (EscalationPolicyRuleArrayOutput) Index ¶
func (o EscalationPolicyRuleArrayOutput) Index(i pulumi.IntInput) EscalationPolicyRuleOutput
func (EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutput ¶
func (o EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutput() EscalationPolicyRuleArrayOutput
func (EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutputWithContext ¶
func (o EscalationPolicyRuleArrayOutput) ToEscalationPolicyRuleArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleArrayOutput
type EscalationPolicyRuleInput ¶
type EscalationPolicyRuleInput interface { pulumi.Input ToEscalationPolicyRuleOutput() EscalationPolicyRuleOutput ToEscalationPolicyRuleOutputWithContext(context.Context) EscalationPolicyRuleOutput }
EscalationPolicyRuleInput is an input type that accepts EscalationPolicyRuleArgs and EscalationPolicyRuleOutput values. You can construct a concrete instance of `EscalationPolicyRuleInput` via:
EscalationPolicyRuleArgs{...}
type EscalationPolicyRuleOutput ¶
type EscalationPolicyRuleOutput struct{ *pulumi.OutputState }
func (EscalationPolicyRuleOutput) ElementType ¶
func (EscalationPolicyRuleOutput) ElementType() reflect.Type
func (EscalationPolicyRuleOutput) EscalationDelayInMinutes ¶
func (o EscalationPolicyRuleOutput) EscalationDelayInMinutes() pulumi.IntOutput
The number of minutes before an unacknowledged incident escalates away from this rule.
func (EscalationPolicyRuleOutput) Id ¶
func (o EscalationPolicyRuleOutput) Id() pulumi.StringPtrOutput
A target ID
func (EscalationPolicyRuleOutput) Targets ¶
func (o EscalationPolicyRuleOutput) Targets() EscalationPolicyRuleTargetArrayOutput
func (EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutput ¶
func (o EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutput() EscalationPolicyRuleOutput
func (EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutputWithContext ¶
func (o EscalationPolicyRuleOutput) ToEscalationPolicyRuleOutputWithContext(ctx context.Context) EscalationPolicyRuleOutput
type EscalationPolicyRuleTargetArgs ¶
type EscalationPolicyRuleTargetArgs struct { // A target ID Id pulumi.StringInput `pulumi:"id"` // Can be `user`, `schedule`, `userReference` or `scheduleReference`. Defaults to `userReference`. For multiple users as example, repeat the target. Type pulumi.StringPtrInput `pulumi:"type"` }
func (EscalationPolicyRuleTargetArgs) ElementType ¶
func (EscalationPolicyRuleTargetArgs) ElementType() reflect.Type
func (EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutput ¶
func (i EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutput() EscalationPolicyRuleTargetOutput
func (EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutputWithContext ¶
func (i EscalationPolicyRuleTargetArgs) ToEscalationPolicyRuleTargetOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetOutput
type EscalationPolicyRuleTargetArray ¶
type EscalationPolicyRuleTargetArray []EscalationPolicyRuleTargetInput
func (EscalationPolicyRuleTargetArray) ElementType ¶
func (EscalationPolicyRuleTargetArray) ElementType() reflect.Type
func (EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutput ¶
func (i EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutput() EscalationPolicyRuleTargetArrayOutput
func (EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutputWithContext ¶
func (i EscalationPolicyRuleTargetArray) ToEscalationPolicyRuleTargetArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetArrayOutput
type EscalationPolicyRuleTargetArrayInput ¶
type EscalationPolicyRuleTargetArrayInput interface { pulumi.Input ToEscalationPolicyRuleTargetArrayOutput() EscalationPolicyRuleTargetArrayOutput ToEscalationPolicyRuleTargetArrayOutputWithContext(context.Context) EscalationPolicyRuleTargetArrayOutput }
EscalationPolicyRuleTargetArrayInput is an input type that accepts EscalationPolicyRuleTargetArray and EscalationPolicyRuleTargetArrayOutput values. You can construct a concrete instance of `EscalationPolicyRuleTargetArrayInput` via:
EscalationPolicyRuleTargetArray{ EscalationPolicyRuleTargetArgs{...} }
type EscalationPolicyRuleTargetArrayOutput ¶
type EscalationPolicyRuleTargetArrayOutput struct{ *pulumi.OutputState }
func (EscalationPolicyRuleTargetArrayOutput) ElementType ¶
func (EscalationPolicyRuleTargetArrayOutput) ElementType() reflect.Type
func (EscalationPolicyRuleTargetArrayOutput) Index ¶
func (o EscalationPolicyRuleTargetArrayOutput) Index(i pulumi.IntInput) EscalationPolicyRuleTargetOutput
func (EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutput ¶
func (o EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutput() EscalationPolicyRuleTargetArrayOutput
func (EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutputWithContext ¶
func (o EscalationPolicyRuleTargetArrayOutput) ToEscalationPolicyRuleTargetArrayOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetArrayOutput
type EscalationPolicyRuleTargetInput ¶
type EscalationPolicyRuleTargetInput interface { pulumi.Input ToEscalationPolicyRuleTargetOutput() EscalationPolicyRuleTargetOutput ToEscalationPolicyRuleTargetOutputWithContext(context.Context) EscalationPolicyRuleTargetOutput }
EscalationPolicyRuleTargetInput is an input type that accepts EscalationPolicyRuleTargetArgs and EscalationPolicyRuleTargetOutput values. You can construct a concrete instance of `EscalationPolicyRuleTargetInput` via:
EscalationPolicyRuleTargetArgs{...}
type EscalationPolicyRuleTargetOutput ¶
type EscalationPolicyRuleTargetOutput struct{ *pulumi.OutputState }
func (EscalationPolicyRuleTargetOutput) ElementType ¶
func (EscalationPolicyRuleTargetOutput) ElementType() reflect.Type
func (EscalationPolicyRuleTargetOutput) Id ¶
func (o EscalationPolicyRuleTargetOutput) Id() pulumi.StringOutput
A target ID
func (EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutput ¶
func (o EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutput() EscalationPolicyRuleTargetOutput
func (EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutputWithContext ¶
func (o EscalationPolicyRuleTargetOutput) ToEscalationPolicyRuleTargetOutputWithContext(ctx context.Context) EscalationPolicyRuleTargetOutput
func (EscalationPolicyRuleTargetOutput) Type ¶
func (o EscalationPolicyRuleTargetOutput) Type() pulumi.StringPtrOutput
Can be `user`, `schedule`, `userReference` or `scheduleReference`. Defaults to `userReference`. For multiple users as example, repeat the target.
type EscalationPolicyState ¶
type EscalationPolicyState struct { Description pulumi.StringPtrInput // The name of the escalation policy. Name pulumi.StringPtrInput // The number of times the escalation policy will repeat after reaching the end of its escalation. NumLoops pulumi.IntPtrInput // An Escalation rule block. Escalation rules documented below. Rules EscalationPolicyRuleArrayInput // Teams associated with the policy. Account must have the `teams` ability to use this parameter. Teams pulumi.StringArrayInput }
func (EscalationPolicyState) ElementType ¶
func (EscalationPolicyState) ElementType() reflect.Type
type EventRule ¶
type EventRule struct { pulumi.CustomResourceState // A list of one or more actions for each rule. Each action within the list is itself a list. ActionJson pulumi.StringOutput `pulumi:"actionJson"` // Contains a list of specific conditions including `active-between`,`scheduled-weekly`, and `frequency-over`. The first element in the list is the label for the condition, followed by a list of values for the specific condition. For more details on these conditions see [Advanced Condition](https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/#advanced-condition-parameter) in the PagerDuty API documentation. AdvancedConditionJson pulumi.StringPtrOutput `pulumi:"advancedConditionJson"` // A boolean that indicates whether the rule is a catch all for the account. This field is read-only through the PagerDuty API. CatchAll pulumi.BoolOutput `pulumi:"catchAll"` // Contains a list of conditions. The first field in the list is `and` or `or`, followed by a list of operators and values. ConditionJson pulumi.StringOutput `pulumi:"conditionJson"` }
*NOTE: The `EventRule` resource has been deprecated in favor of the Ruleset and RulesetRule resources. Please use the `ruleset` based resources for working with Event Rules.*
An [event rule](https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/) determines what happens to an event that is sent to PagerDuty by monitoring tools and other integrations.
## Example Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal([][]string{ []string{ "route", "P5DTL0K", }, []string{ "severity", "warning", }, []string{ "annotate", "2 Managed by terraform", }, []string{ "priority", "PL451DT", }, }) if err != nil { return err } json0 := string(tmpJSON0) tmpJSON1, err := json.Marshal([]interface{}{ "and", []interface{}{ "contains", []string{ "path", "payload", "source", }, "website", }, []interface{}{ "contains", []string{ "path", "headers", "from", "0", "address", }, "homer", }, }) if err != nil { return err } json1 := string(tmpJSON1) tmpJSON2, err := json.Marshal([][]interface{}{ []interface{}{ "scheduled-weekly", 1565392127032, 3600000, "America/Los_Angeles", []float64{ 1, 2, 3, 5, 7, }, }, }) if err != nil { return err } json2 := string(tmpJSON2) _, err := pagerduty.NewEventRule(ctx, "second", &pagerduty.EventRuleArgs{ ActionJson: pulumi.String(json0), ConditionJson: pulumi.String(json1), AdvancedConditionJson: pulumi.String(json2), }) if err != nil { return err } tmpJSON3, err := json.Marshal([][]string{ []string{ "route", "P5DTL0K", }, []string{ "severity", "warning", }, []string{ "annotate", "3 Managed by terraform", }, []string{ "priority", "PL451DT", }, }) if err != nil { return err } json3 := string(tmpJSON3) tmpJSON4, err := json.Marshal([]interface{}{ "and", []interface{}{ "contains", []string{ "path", "payload", "source", }, "website", }, []interface{}{ "contains", []string{ "path", "headers", "from", "0", "address", }, "homer", }, }) if err != nil { return err } json4 := string(tmpJSON4) _, err = pagerduty.NewEventRule(ctx, "third", &pagerduty.EventRuleArgs{ ActionJson: pulumi.String(json3), ConditionJson: pulumi.String(json4), }, pulumi.DependsOn([]pulumi.Resource{ pagerduty_event_rule.Two, })) if err != nil { return err } return nil }) }
```
## Import
Event rules can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/eventRule:EventRule main 19acac92-027a-4ea0-b06c-bbf516519601
```
func GetEventRule ¶
func GetEventRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventRuleState, opts ...pulumi.ResourceOption) (*EventRule, error)
GetEventRule gets an existing EventRule 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 NewEventRule ¶
func NewEventRule(ctx *pulumi.Context, name string, args *EventRuleArgs, opts ...pulumi.ResourceOption) (*EventRule, error)
NewEventRule registers a new resource with the given unique name, arguments, and options.
func (*EventRule) ElementType ¶
func (*EventRule) ToEventRuleOutput ¶
func (i *EventRule) ToEventRuleOutput() EventRuleOutput
func (*EventRule) ToEventRuleOutputWithContext ¶
func (i *EventRule) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
func (*EventRule) ToEventRulePtrOutput ¶
func (i *EventRule) ToEventRulePtrOutput() EventRulePtrOutput
func (*EventRule) ToEventRulePtrOutputWithContext ¶
func (i *EventRule) ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput
type EventRuleArgs ¶
type EventRuleArgs struct { // A list of one or more actions for each rule. Each action within the list is itself a list. ActionJson pulumi.StringInput // Contains a list of specific conditions including `active-between`,`scheduled-weekly`, and `frequency-over`. The first element in the list is the label for the condition, followed by a list of values for the specific condition. For more details on these conditions see [Advanced Condition](https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/#advanced-condition-parameter) in the PagerDuty API documentation. AdvancedConditionJson pulumi.StringPtrInput // Contains a list of conditions. The first field in the list is `and` or `or`, followed by a list of operators and values. ConditionJson pulumi.StringInput }
The set of arguments for constructing a EventRule resource.
func (EventRuleArgs) ElementType ¶
func (EventRuleArgs) ElementType() reflect.Type
type EventRuleArray ¶
type EventRuleArray []EventRuleInput
func (EventRuleArray) ElementType ¶
func (EventRuleArray) ElementType() reflect.Type
func (EventRuleArray) ToEventRuleArrayOutput ¶
func (i EventRuleArray) ToEventRuleArrayOutput() EventRuleArrayOutput
func (EventRuleArray) ToEventRuleArrayOutputWithContext ¶
func (i EventRuleArray) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput
type EventRuleArrayInput ¶
type EventRuleArrayInput interface { pulumi.Input ToEventRuleArrayOutput() EventRuleArrayOutput ToEventRuleArrayOutputWithContext(context.Context) EventRuleArrayOutput }
EventRuleArrayInput is an input type that accepts EventRuleArray and EventRuleArrayOutput values. You can construct a concrete instance of `EventRuleArrayInput` via:
EventRuleArray{ EventRuleArgs{...} }
type EventRuleArrayOutput ¶
type EventRuleArrayOutput struct{ *pulumi.OutputState }
func (EventRuleArrayOutput) ElementType ¶
func (EventRuleArrayOutput) ElementType() reflect.Type
func (EventRuleArrayOutput) Index ¶
func (o EventRuleArrayOutput) Index(i pulumi.IntInput) EventRuleOutput
func (EventRuleArrayOutput) ToEventRuleArrayOutput ¶
func (o EventRuleArrayOutput) ToEventRuleArrayOutput() EventRuleArrayOutput
func (EventRuleArrayOutput) ToEventRuleArrayOutputWithContext ¶
func (o EventRuleArrayOutput) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput
type EventRuleInput ¶
type EventRuleInput interface { pulumi.Input ToEventRuleOutput() EventRuleOutput ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput }
type EventRuleMap ¶
type EventRuleMap map[string]EventRuleInput
func (EventRuleMap) ElementType ¶
func (EventRuleMap) ElementType() reflect.Type
func (EventRuleMap) ToEventRuleMapOutput ¶
func (i EventRuleMap) ToEventRuleMapOutput() EventRuleMapOutput
func (EventRuleMap) ToEventRuleMapOutputWithContext ¶
func (i EventRuleMap) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput
type EventRuleMapInput ¶
type EventRuleMapInput interface { pulumi.Input ToEventRuleMapOutput() EventRuleMapOutput ToEventRuleMapOutputWithContext(context.Context) EventRuleMapOutput }
EventRuleMapInput is an input type that accepts EventRuleMap and EventRuleMapOutput values. You can construct a concrete instance of `EventRuleMapInput` via:
EventRuleMap{ "key": EventRuleArgs{...} }
type EventRuleMapOutput ¶
type EventRuleMapOutput struct{ *pulumi.OutputState }
func (EventRuleMapOutput) ElementType ¶
func (EventRuleMapOutput) ElementType() reflect.Type
func (EventRuleMapOutput) MapIndex ¶
func (o EventRuleMapOutput) MapIndex(k pulumi.StringInput) EventRuleOutput
func (EventRuleMapOutput) ToEventRuleMapOutput ¶
func (o EventRuleMapOutput) ToEventRuleMapOutput() EventRuleMapOutput
func (EventRuleMapOutput) ToEventRuleMapOutputWithContext ¶
func (o EventRuleMapOutput) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput
type EventRuleOutput ¶
type EventRuleOutput struct {
*pulumi.OutputState
}
func (EventRuleOutput) ElementType ¶
func (EventRuleOutput) ElementType() reflect.Type
func (EventRuleOutput) ToEventRuleOutput ¶
func (o EventRuleOutput) ToEventRuleOutput() EventRuleOutput
func (EventRuleOutput) ToEventRuleOutputWithContext ¶
func (o EventRuleOutput) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
func (EventRuleOutput) ToEventRulePtrOutput ¶
func (o EventRuleOutput) ToEventRulePtrOutput() EventRulePtrOutput
func (EventRuleOutput) ToEventRulePtrOutputWithContext ¶
func (o EventRuleOutput) ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput
type EventRulePtrInput ¶
type EventRulePtrInput interface { pulumi.Input ToEventRulePtrOutput() EventRulePtrOutput ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput }
type EventRulePtrOutput ¶
type EventRulePtrOutput struct {
*pulumi.OutputState
}
func (EventRulePtrOutput) ElementType ¶
func (EventRulePtrOutput) ElementType() reflect.Type
func (EventRulePtrOutput) ToEventRulePtrOutput ¶
func (o EventRulePtrOutput) ToEventRulePtrOutput() EventRulePtrOutput
func (EventRulePtrOutput) ToEventRulePtrOutputWithContext ¶
func (o EventRulePtrOutput) ToEventRulePtrOutputWithContext(ctx context.Context) EventRulePtrOutput
type EventRuleState ¶
type EventRuleState struct { // A list of one or more actions for each rule. Each action within the list is itself a list. ActionJson pulumi.StringPtrInput // Contains a list of specific conditions including `active-between`,`scheduled-weekly`, and `frequency-over`. The first element in the list is the label for the condition, followed by a list of values for the specific condition. For more details on these conditions see [Advanced Condition](https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/#advanced-condition-parameter) in the PagerDuty API documentation. AdvancedConditionJson pulumi.StringPtrInput // A boolean that indicates whether the rule is a catch all for the account. This field is read-only through the PagerDuty API. CatchAll pulumi.BoolPtrInput // Contains a list of conditions. The first field in the list is `and` or `or`, followed by a list of operators and values. ConditionJson pulumi.StringPtrInput }
func (EventRuleState) ElementType ¶
func (EventRuleState) ElementType() reflect.Type
type Extension ¶
type Extension struct { pulumi.CustomResourceState // The configuration of the service extension as string containing plain JSON-encoded data. Config pulumi.StringPtrOutput `pulumi:"config"` // The url of the extension. // **Note:** The [endpoint URL is Optional API wise](https://api-reference.pagerduty.com/#!/Extensions/post_extensions) in most cases. But in some cases it is a _Required_ parameter. For example, `getExtensionSchema` named `Generic V2 Webhook` doesn't accept `Extension` with no `endpointUrl`, but one with named `Slack` accepts. EndpointUrl pulumi.StringPtrOutput `pulumi:"endpointUrl"` // This is the objects for which the extension applies (An array of service ids). ExtensionObjects pulumi.StringArrayOutput `pulumi:"extensionObjects"` // This is the schema for this extension. ExtensionSchema pulumi.StringOutput `pulumi:"extensionSchema"` // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"` // The name of the service extension. Name pulumi.StringOutput `pulumi:"name"` Type pulumi.StringOutput `pulumi:"type"` }
An [extension](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1extensions/post) can be associated with a service.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { webhook, err := pagerduty.GetExtensionSchema(ctx, &pagerduty.GetExtensionSchemaArgs{ Name: "Generic V2 Webhook", }, nil) if err != nil { return err } exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{ Email: pulumi.String("howard.james@example.domain"), }) if err != nil { return err } exampleEscalationPolicy, err := pagerduty.NewEscalationPolicy(ctx, "exampleEscalationPolicy", &pagerduty.EscalationPolicyArgs{ NumLoops: pulumi.Int(2), Rules: pagerduty.EscalationPolicyRuleArray{ &pagerduty.EscalationPolicyRuleArgs{ EscalationDelayInMinutes: pulumi.Int(10), Targets: pagerduty.EscalationPolicyRuleTargetArray{ &pagerduty.EscalationPolicyRuleTargetArgs{ Type: pulumi.String("user"), Id: exampleUser.ID(), }, }, }, }, }) if err != nil { return err } exampleService, err := pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{ AutoResolveTimeout: pulumi.String("14400"), AcknowledgementTimeout: pulumi.String("600"), EscalationPolicy: exampleEscalationPolicy.ID(), }) if err != nil { return err } _, err = pagerduty.NewExtension(ctx, "slack", &pagerduty.ExtensionArgs{ EndpointUrl: pulumi.String("https://generic_webhook_url/XXXXXX/BBBBBB"), ExtensionSchema: pulumi.String(webhook.Id), ExtensionObjects: pulumi.StringArray{ exampleService.ID(), }, Config: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v", "{\n", " \"restrict\": \"any\",\n", " \"notify_types\": {\n", " \"resolve\": false,\n", " \"acknowledge\": false,\n", " \"assignments\": false\n", " },\n", " \"access_token\": \"XXX\"\n", "}\n")), }) if err != nil { return err } return nil }) }
```
## Import
Extensions can be imported using the id.e.g.
```sh
$ pulumi import pagerduty:index/extension:Extension main PLBP09X
```
func GetExtension ¶
func GetExtension(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ExtensionState, opts ...pulumi.ResourceOption) (*Extension, error)
GetExtension gets an existing Extension 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 NewExtension ¶
func NewExtension(ctx *pulumi.Context, name string, args *ExtensionArgs, opts ...pulumi.ResourceOption) (*Extension, error)
NewExtension registers a new resource with the given unique name, arguments, and options.
func (*Extension) ElementType ¶
func (*Extension) ToExtensionOutput ¶
func (i *Extension) ToExtensionOutput() ExtensionOutput
func (*Extension) ToExtensionOutputWithContext ¶
func (i *Extension) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput
func (*Extension) ToExtensionPtrOutput ¶
func (i *Extension) ToExtensionPtrOutput() ExtensionPtrOutput
func (*Extension) ToExtensionPtrOutputWithContext ¶
func (i *Extension) ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput
type ExtensionArgs ¶
type ExtensionArgs struct { // The configuration of the service extension as string containing plain JSON-encoded data. Config pulumi.StringPtrInput // The url of the extension. // **Note:** The [endpoint URL is Optional API wise](https://api-reference.pagerduty.com/#!/Extensions/post_extensions) in most cases. But in some cases it is a _Required_ parameter. For example, `getExtensionSchema` named `Generic V2 Webhook` doesn't accept `Extension` with no `endpointUrl`, but one with named `Slack` accepts. EndpointUrl pulumi.StringPtrInput // This is the objects for which the extension applies (An array of service ids). ExtensionObjects pulumi.StringArrayInput // This is the schema for this extension. ExtensionSchema pulumi.StringInput // The name of the service extension. Name pulumi.StringPtrInput Type pulumi.StringPtrInput }
The set of arguments for constructing a Extension resource.
func (ExtensionArgs) ElementType ¶
func (ExtensionArgs) ElementType() reflect.Type
type ExtensionArray ¶
type ExtensionArray []ExtensionInput
func (ExtensionArray) ElementType ¶
func (ExtensionArray) ElementType() reflect.Type
func (ExtensionArray) ToExtensionArrayOutput ¶
func (i ExtensionArray) ToExtensionArrayOutput() ExtensionArrayOutput
func (ExtensionArray) ToExtensionArrayOutputWithContext ¶
func (i ExtensionArray) ToExtensionArrayOutputWithContext(ctx context.Context) ExtensionArrayOutput
type ExtensionArrayInput ¶
type ExtensionArrayInput interface { pulumi.Input ToExtensionArrayOutput() ExtensionArrayOutput ToExtensionArrayOutputWithContext(context.Context) ExtensionArrayOutput }
ExtensionArrayInput is an input type that accepts ExtensionArray and ExtensionArrayOutput values. You can construct a concrete instance of `ExtensionArrayInput` via:
ExtensionArray{ ExtensionArgs{...} }
type ExtensionArrayOutput ¶
type ExtensionArrayOutput struct{ *pulumi.OutputState }
func (ExtensionArrayOutput) ElementType ¶
func (ExtensionArrayOutput) ElementType() reflect.Type
func (ExtensionArrayOutput) Index ¶
func (o ExtensionArrayOutput) Index(i pulumi.IntInput) ExtensionOutput
func (ExtensionArrayOutput) ToExtensionArrayOutput ¶
func (o ExtensionArrayOutput) ToExtensionArrayOutput() ExtensionArrayOutput
func (ExtensionArrayOutput) ToExtensionArrayOutputWithContext ¶
func (o ExtensionArrayOutput) ToExtensionArrayOutputWithContext(ctx context.Context) ExtensionArrayOutput
type ExtensionInput ¶
type ExtensionInput interface { pulumi.Input ToExtensionOutput() ExtensionOutput ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput }
type ExtensionMap ¶
type ExtensionMap map[string]ExtensionInput
func (ExtensionMap) ElementType ¶
func (ExtensionMap) ElementType() reflect.Type
func (ExtensionMap) ToExtensionMapOutput ¶
func (i ExtensionMap) ToExtensionMapOutput() ExtensionMapOutput
func (ExtensionMap) ToExtensionMapOutputWithContext ¶
func (i ExtensionMap) ToExtensionMapOutputWithContext(ctx context.Context) ExtensionMapOutput
type ExtensionMapInput ¶
type ExtensionMapInput interface { pulumi.Input ToExtensionMapOutput() ExtensionMapOutput ToExtensionMapOutputWithContext(context.Context) ExtensionMapOutput }
ExtensionMapInput is an input type that accepts ExtensionMap and ExtensionMapOutput values. You can construct a concrete instance of `ExtensionMapInput` via:
ExtensionMap{ "key": ExtensionArgs{...} }
type ExtensionMapOutput ¶
type ExtensionMapOutput struct{ *pulumi.OutputState }
func (ExtensionMapOutput) ElementType ¶
func (ExtensionMapOutput) ElementType() reflect.Type
func (ExtensionMapOutput) MapIndex ¶
func (o ExtensionMapOutput) MapIndex(k pulumi.StringInput) ExtensionOutput
func (ExtensionMapOutput) ToExtensionMapOutput ¶
func (o ExtensionMapOutput) ToExtensionMapOutput() ExtensionMapOutput
func (ExtensionMapOutput) ToExtensionMapOutputWithContext ¶
func (o ExtensionMapOutput) ToExtensionMapOutputWithContext(ctx context.Context) ExtensionMapOutput
type ExtensionOutput ¶
type ExtensionOutput struct {
*pulumi.OutputState
}
func (ExtensionOutput) ElementType ¶
func (ExtensionOutput) ElementType() reflect.Type
func (ExtensionOutput) ToExtensionOutput ¶
func (o ExtensionOutput) ToExtensionOutput() ExtensionOutput
func (ExtensionOutput) ToExtensionOutputWithContext ¶
func (o ExtensionOutput) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput
func (ExtensionOutput) ToExtensionPtrOutput ¶
func (o ExtensionOutput) ToExtensionPtrOutput() ExtensionPtrOutput
func (ExtensionOutput) ToExtensionPtrOutputWithContext ¶
func (o ExtensionOutput) ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput
type ExtensionPtrInput ¶
type ExtensionPtrInput interface { pulumi.Input ToExtensionPtrOutput() ExtensionPtrOutput ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput }
type ExtensionPtrOutput ¶
type ExtensionPtrOutput struct {
*pulumi.OutputState
}
func (ExtensionPtrOutput) ElementType ¶
func (ExtensionPtrOutput) ElementType() reflect.Type
func (ExtensionPtrOutput) ToExtensionPtrOutput ¶
func (o ExtensionPtrOutput) ToExtensionPtrOutput() ExtensionPtrOutput
func (ExtensionPtrOutput) ToExtensionPtrOutputWithContext ¶
func (o ExtensionPtrOutput) ToExtensionPtrOutputWithContext(ctx context.Context) ExtensionPtrOutput
type ExtensionServiceNow ¶ added in v2.1.0
type ExtensionServiceNow struct { pulumi.CustomResourceState EndpointUrl pulumi.StringPtrOutput `pulumi:"endpointUrl"` // This is the objects for which the extension applies (An array of service ids). ExtensionObjects pulumi.StringArrayOutput `pulumi:"extensionObjects"` // This is the schema for this extension. ExtensionSchema pulumi.StringOutput `pulumi:"extensionSchema"` // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"` // The name of the service extension. Name pulumi.StringOutput `pulumi:"name"` // The ServiceNow referer. Referer pulumi.StringOutput `pulumi:"referer"` // The ServiceNow password. SnowPassword pulumi.StringOutput `pulumi:"snowPassword"` // The ServiceNow username. SnowUser pulumi.StringOutput `pulumi:"snowUser"` // The ServiceNow sync option. SyncOptions pulumi.StringOutput `pulumi:"syncOptions"` // Target Webhook URL Target pulumi.StringOutput `pulumi:"target"` // The ServiceNow task type, typically `incident`. TaskType pulumi.StringOutput `pulumi:"taskType"` Type pulumi.StringOutput `pulumi:"type"` }
A special case for [extension](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1extensions/post) for ServiceNow.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { webhook, err := pagerduty.GetExtensionSchema(ctx, &pagerduty.GetExtensionSchemaArgs{ Name: "Generic V2 Webhook", }, nil) if err != nil { return err } exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{ Email: pulumi.String("howard.james@example.domain"), }) if err != nil { return err } exampleEscalationPolicy, err := pagerduty.NewEscalationPolicy(ctx, "exampleEscalationPolicy", &pagerduty.EscalationPolicyArgs{ NumLoops: pulumi.Int(2), Rules: pagerduty.EscalationPolicyRuleArray{ &pagerduty.EscalationPolicyRuleArgs{ EscalationDelayInMinutes: pulumi.Int(10), Targets: pagerduty.EscalationPolicyRuleTargetArray{ &pagerduty.EscalationPolicyRuleTargetArgs{ Type: pulumi.String("user"), Id: exampleUser.ID(), }, }, }, }, }) if err != nil { return err } exampleService, err := pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{ AutoResolveTimeout: pulumi.String("14400"), AcknowledgementTimeout: pulumi.String("600"), EscalationPolicy: exampleEscalationPolicy.ID(), }) if err != nil { return err } _, err = pagerduty.NewExtensionServiceNow(ctx, "snow", &pagerduty.ExtensionServiceNowArgs{ ExtensionSchema: pulumi.String(webhook.Id), ExtensionObjects: pulumi.StringArray{ exampleService.ID(), }, SnowUser: pulumi.String("meeps"), SnowPassword: pulumi.String("zorz"), SyncOptions: pulumi.String("manual_sync"), Target: pulumi.String("https://foo.servicenow.com/webhook_foo"), TaskType: pulumi.String("incident"), Referer: pulumi.String("None"), }) if err != nil { return err } return nil }) }
```
## Import
Extensions can be imported using the id.e.g.
```sh
$ pulumi import pagerduty:index/extensionServiceNow:ExtensionServiceNow main PLBP09X
```
func GetExtensionServiceNow ¶ added in v2.1.0
func GetExtensionServiceNow(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ExtensionServiceNowState, opts ...pulumi.ResourceOption) (*ExtensionServiceNow, error)
GetExtensionServiceNow gets an existing ExtensionServiceNow 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 NewExtensionServiceNow ¶ added in v2.1.0
func NewExtensionServiceNow(ctx *pulumi.Context, name string, args *ExtensionServiceNowArgs, opts ...pulumi.ResourceOption) (*ExtensionServiceNow, error)
NewExtensionServiceNow registers a new resource with the given unique name, arguments, and options.
func (*ExtensionServiceNow) ElementType ¶ added in v2.1.0
func (*ExtensionServiceNow) ElementType() reflect.Type
func (*ExtensionServiceNow) ToExtensionServiceNowOutput ¶ added in v2.1.0
func (i *ExtensionServiceNow) ToExtensionServiceNowOutput() ExtensionServiceNowOutput
func (*ExtensionServiceNow) ToExtensionServiceNowOutputWithContext ¶ added in v2.1.0
func (i *ExtensionServiceNow) ToExtensionServiceNowOutputWithContext(ctx context.Context) ExtensionServiceNowOutput
func (*ExtensionServiceNow) ToExtensionServiceNowPtrOutput ¶ added in v2.1.0
func (i *ExtensionServiceNow) ToExtensionServiceNowPtrOutput() ExtensionServiceNowPtrOutput
func (*ExtensionServiceNow) ToExtensionServiceNowPtrOutputWithContext ¶ added in v2.1.0
func (i *ExtensionServiceNow) ToExtensionServiceNowPtrOutputWithContext(ctx context.Context) ExtensionServiceNowPtrOutput
type ExtensionServiceNowArgs ¶ added in v2.1.0
type ExtensionServiceNowArgs struct { EndpointUrl pulumi.StringPtrInput // This is the objects for which the extension applies (An array of service ids). ExtensionObjects pulumi.StringArrayInput // This is the schema for this extension. ExtensionSchema pulumi.StringInput // The name of the service extension. Name pulumi.StringPtrInput // The ServiceNow referer. Referer pulumi.StringInput // The ServiceNow password. SnowPassword pulumi.StringInput // The ServiceNow username. SnowUser pulumi.StringInput // The ServiceNow sync option. SyncOptions pulumi.StringInput // Target Webhook URL Target pulumi.StringInput // The ServiceNow task type, typically `incident`. TaskType pulumi.StringInput Type pulumi.StringPtrInput }
The set of arguments for constructing a ExtensionServiceNow resource.
func (ExtensionServiceNowArgs) ElementType ¶ added in v2.1.0
func (ExtensionServiceNowArgs) ElementType() reflect.Type
type ExtensionServiceNowArray ¶ added in v2.1.0
type ExtensionServiceNowArray []ExtensionServiceNowInput
func (ExtensionServiceNowArray) ElementType ¶ added in v2.1.0
func (ExtensionServiceNowArray) ElementType() reflect.Type
func (ExtensionServiceNowArray) ToExtensionServiceNowArrayOutput ¶ added in v2.1.0
func (i ExtensionServiceNowArray) ToExtensionServiceNowArrayOutput() ExtensionServiceNowArrayOutput
func (ExtensionServiceNowArray) ToExtensionServiceNowArrayOutputWithContext ¶ added in v2.1.0
func (i ExtensionServiceNowArray) ToExtensionServiceNowArrayOutputWithContext(ctx context.Context) ExtensionServiceNowArrayOutput
type ExtensionServiceNowArrayInput ¶ added in v2.1.0
type ExtensionServiceNowArrayInput interface { pulumi.Input ToExtensionServiceNowArrayOutput() ExtensionServiceNowArrayOutput ToExtensionServiceNowArrayOutputWithContext(context.Context) ExtensionServiceNowArrayOutput }
ExtensionServiceNowArrayInput is an input type that accepts ExtensionServiceNowArray and ExtensionServiceNowArrayOutput values. You can construct a concrete instance of `ExtensionServiceNowArrayInput` via:
ExtensionServiceNowArray{ ExtensionServiceNowArgs{...} }
type ExtensionServiceNowArrayOutput ¶ added in v2.1.0
type ExtensionServiceNowArrayOutput struct{ *pulumi.OutputState }
func (ExtensionServiceNowArrayOutput) ElementType ¶ added in v2.1.0
func (ExtensionServiceNowArrayOutput) ElementType() reflect.Type
func (ExtensionServiceNowArrayOutput) Index ¶ added in v2.1.0
func (o ExtensionServiceNowArrayOutput) Index(i pulumi.IntInput) ExtensionServiceNowOutput
func (ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutput ¶ added in v2.1.0
func (o ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutput() ExtensionServiceNowArrayOutput
func (ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutputWithContext ¶ added in v2.1.0
func (o ExtensionServiceNowArrayOutput) ToExtensionServiceNowArrayOutputWithContext(ctx context.Context) ExtensionServiceNowArrayOutput
type ExtensionServiceNowInput ¶ added in v2.1.0
type ExtensionServiceNowInput interface { pulumi.Input ToExtensionServiceNowOutput() ExtensionServiceNowOutput ToExtensionServiceNowOutputWithContext(ctx context.Context) ExtensionServiceNowOutput }
type ExtensionServiceNowMap ¶ added in v2.1.0
type ExtensionServiceNowMap map[string]ExtensionServiceNowInput
func (ExtensionServiceNowMap) ElementType ¶ added in v2.1.0
func (ExtensionServiceNowMap) ElementType() reflect.Type
func (ExtensionServiceNowMap) ToExtensionServiceNowMapOutput ¶ added in v2.1.0
func (i ExtensionServiceNowMap) ToExtensionServiceNowMapOutput() ExtensionServiceNowMapOutput
func (ExtensionServiceNowMap) ToExtensionServiceNowMapOutputWithContext ¶ added in v2.1.0
func (i ExtensionServiceNowMap) ToExtensionServiceNowMapOutputWithContext(ctx context.Context) ExtensionServiceNowMapOutput
type ExtensionServiceNowMapInput ¶ added in v2.1.0
type ExtensionServiceNowMapInput interface { pulumi.Input ToExtensionServiceNowMapOutput() ExtensionServiceNowMapOutput ToExtensionServiceNowMapOutputWithContext(context.Context) ExtensionServiceNowMapOutput }
ExtensionServiceNowMapInput is an input type that accepts ExtensionServiceNowMap and ExtensionServiceNowMapOutput values. You can construct a concrete instance of `ExtensionServiceNowMapInput` via:
ExtensionServiceNowMap{ "key": ExtensionServiceNowArgs{...} }
type ExtensionServiceNowMapOutput ¶ added in v2.1.0
type ExtensionServiceNowMapOutput struct{ *pulumi.OutputState }
func (ExtensionServiceNowMapOutput) ElementType ¶ added in v2.1.0
func (ExtensionServiceNowMapOutput) ElementType() reflect.Type
func (ExtensionServiceNowMapOutput) MapIndex ¶ added in v2.1.0
func (o ExtensionServiceNowMapOutput) MapIndex(k pulumi.StringInput) ExtensionServiceNowOutput
func (ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutput ¶ added in v2.1.0
func (o ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutput() ExtensionServiceNowMapOutput
func (ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutputWithContext ¶ added in v2.1.0
func (o ExtensionServiceNowMapOutput) ToExtensionServiceNowMapOutputWithContext(ctx context.Context) ExtensionServiceNowMapOutput
type ExtensionServiceNowOutput ¶ added in v2.1.0
type ExtensionServiceNowOutput struct {
*pulumi.OutputState
}
func (ExtensionServiceNowOutput) ElementType ¶ added in v2.1.0
func (ExtensionServiceNowOutput) ElementType() reflect.Type
func (ExtensionServiceNowOutput) ToExtensionServiceNowOutput ¶ added in v2.1.0
func (o ExtensionServiceNowOutput) ToExtensionServiceNowOutput() ExtensionServiceNowOutput
func (ExtensionServiceNowOutput) ToExtensionServiceNowOutputWithContext ¶ added in v2.1.0
func (o ExtensionServiceNowOutput) ToExtensionServiceNowOutputWithContext(ctx context.Context) ExtensionServiceNowOutput
func (ExtensionServiceNowOutput) ToExtensionServiceNowPtrOutput ¶ added in v2.1.0
func (o ExtensionServiceNowOutput) ToExtensionServiceNowPtrOutput() ExtensionServiceNowPtrOutput
func (ExtensionServiceNowOutput) ToExtensionServiceNowPtrOutputWithContext ¶ added in v2.1.0
func (o ExtensionServiceNowOutput) ToExtensionServiceNowPtrOutputWithContext(ctx context.Context) ExtensionServiceNowPtrOutput
type ExtensionServiceNowPtrInput ¶ added in v2.1.0
type ExtensionServiceNowPtrInput interface { pulumi.Input ToExtensionServiceNowPtrOutput() ExtensionServiceNowPtrOutput ToExtensionServiceNowPtrOutputWithContext(ctx context.Context) ExtensionServiceNowPtrOutput }
type ExtensionServiceNowPtrOutput ¶ added in v2.1.0
type ExtensionServiceNowPtrOutput struct {
*pulumi.OutputState
}
func (ExtensionServiceNowPtrOutput) ElementType ¶ added in v2.1.0
func (ExtensionServiceNowPtrOutput) ElementType() reflect.Type
func (ExtensionServiceNowPtrOutput) ToExtensionServiceNowPtrOutput ¶ added in v2.1.0
func (o ExtensionServiceNowPtrOutput) ToExtensionServiceNowPtrOutput() ExtensionServiceNowPtrOutput
func (ExtensionServiceNowPtrOutput) ToExtensionServiceNowPtrOutputWithContext ¶ added in v2.1.0
func (o ExtensionServiceNowPtrOutput) ToExtensionServiceNowPtrOutputWithContext(ctx context.Context) ExtensionServiceNowPtrOutput
type ExtensionServiceNowState ¶ added in v2.1.0
type ExtensionServiceNowState struct { EndpointUrl pulumi.StringPtrInput // This is the objects for which the extension applies (An array of service ids). ExtensionObjects pulumi.StringArrayInput // This is the schema for this extension. ExtensionSchema pulumi.StringPtrInput // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringPtrInput // The name of the service extension. Name pulumi.StringPtrInput // The ServiceNow referer. Referer pulumi.StringPtrInput // The ServiceNow password. SnowPassword pulumi.StringPtrInput // The ServiceNow username. SnowUser pulumi.StringPtrInput // The ServiceNow sync option. SyncOptions pulumi.StringPtrInput // Target Webhook URL Target pulumi.StringPtrInput // The ServiceNow task type, typically `incident`. TaskType pulumi.StringPtrInput Type pulumi.StringPtrInput }
func (ExtensionServiceNowState) ElementType ¶ added in v2.1.0
func (ExtensionServiceNowState) ElementType() reflect.Type
type ExtensionState ¶
type ExtensionState struct { // The configuration of the service extension as string containing plain JSON-encoded data. Config pulumi.StringPtrInput // The url of the extension. // **Note:** The [endpoint URL is Optional API wise](https://api-reference.pagerduty.com/#!/Extensions/post_extensions) in most cases. But in some cases it is a _Required_ parameter. For example, `getExtensionSchema` named `Generic V2 Webhook` doesn't accept `Extension` with no `endpointUrl`, but one with named `Slack` accepts. EndpointUrl pulumi.StringPtrInput // This is the objects for which the extension applies (An array of service ids). ExtensionObjects pulumi.StringArrayInput // This is the schema for this extension. ExtensionSchema pulumi.StringPtrInput // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringPtrInput // The name of the service extension. Name pulumi.StringPtrInput Type pulumi.StringPtrInput }
func (ExtensionState) ElementType ¶
func (ExtensionState) ElementType() reflect.Type
type GetExtensionSchemaArgs ¶
type GetExtensionSchemaArgs struct { // The extension name to use to find an extension vendor in the PagerDuty API. Name string `pulumi:"name"` }
A collection of arguments for invoking getExtensionSchema.
type GetExtensionSchemaResult ¶
type GetExtensionSchemaResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The short name of the found extension vendor. Name string `pulumi:"name"` // The generic service type for this extension vendor. Type string `pulumi:"type"` }
A collection of values returned by getExtensionSchema.
func GetExtensionSchema ¶
func GetExtensionSchema(ctx *pulumi.Context, args *GetExtensionSchemaArgs, opts ...pulumi.InvokeOption) (*GetExtensionSchemaResult, error)
Use this data source to get information about a specific [extension](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Extension_Schemas/get_extension_schemas) vendor that you can use for a service (e.g: Slack, Generic Webhook, ServiceNow).
type GetPriorityArgs ¶
type GetPriorityArgs struct { // The name of the priority to find in the PagerDuty API. Name string `pulumi:"name"` }
A collection of arguments for invoking getPriority.
type GetPriorityResult ¶
type GetPriorityResult struct { // A description of the found priority. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the found priority. Name string `pulumi:"name"` }
A collection of values returned by getPriority.
func GetPriority ¶
func GetPriority(ctx *pulumi.Context, args *GetPriorityArgs, opts ...pulumi.InvokeOption) (*GetPriorityResult, error)
Use this data source to get information about a specific [priority](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1priorities/get) that you can use for other PagerDuty resources. A priority is a label representing the importance and impact of an incident. This feature is only available on Standard and Enterprise plans.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { p1, err := pagerduty.GetPriority(ctx, &pagerduty.GetPriorityArgs{ Name: "P1", }, nil) if err != nil { return err } fooRuleset, err := pagerduty.NewRuleset(ctx, "fooRuleset", nil) if err != nil { return err } _, err = pagerduty.NewRulesetRule(ctx, "fooRulesetRule", &pagerduty.RulesetRuleArgs{ Ruleset: fooRuleset.ID(), Position: pulumi.Int(0), Disabled: pulumi.Bool(false), Conditions: &pagerduty.RulesetRuleConditionsArgs{ Operator: pulumi.String("and"), Subconditions: pagerduty.RulesetRuleConditionsSubconditionArray{ &pagerduty.RulesetRuleConditionsSubconditionArgs{ Operator: pulumi.String("contains"), Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{ &pagerduty.RulesetRuleConditionsSubconditionParameterArgs{ Value: pulumi.String("disk space"), Path: pulumi.String("payload.summary"), }, }, }, &pagerduty.RulesetRuleConditionsSubconditionArgs{ Operator: pulumi.String("contains"), Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{ &pagerduty.RulesetRuleConditionsSubconditionParameterArgs{ Value: pulumi.String("db"), Path: pulumi.String("payload.source"), }, }, }, }, }, Actions: &pagerduty.RulesetRuleActionsArgs{ Routes: pagerduty.RulesetRuleActionsRouteArray{ &pagerduty.RulesetRuleActionsRouteArgs{ Value: pulumi.String("P5DTL0K"), }, }, Priorities: pagerduty.RulesetRuleActionsPriorityArray{ &pagerduty.RulesetRuleActionsPriorityArgs{ Value: pulumi.String(p1.Id), }, }, }, }) if err != nil { return err } return nil }) }
```
type GetVendorArgs ¶
type GetVendorArgs struct { // The vendor name to use to find a vendor in the PagerDuty API. Name string `pulumi:"name"` }
A collection of arguments for invoking getVendor.
type GetVendorResult ¶
type GetVendorResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The short name of the found vendor. Name string `pulumi:"name"` // The generic service type for this vendor. Type string `pulumi:"type"` }
A collection of values returned by getVendor.
func GetVendor ¶
func GetVendor(ctx *pulumi.Context, args *GetVendorArgs, opts ...pulumi.InvokeOption) (*GetVendorResult, error)
Use this data source to get information about a specific [vendor](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1vendors/get) that you can use for a service integration (e.g Amazon Cloudwatch, Splunk, Datadog).
type LookupBusinessServiceArgs ¶
type LookupBusinessServiceArgs struct { // The business service name to use to find a business service in the PagerDuty API. Name string `pulumi:"name"` }
A collection of arguments for invoking getBusinessService.
type LookupBusinessServiceResult ¶
type LookupBusinessServiceResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The short name of the found business service. Name string `pulumi:"name"` }
A collection of values returned by getBusinessService.
func LookupBusinessService ¶
func LookupBusinessService(ctx *pulumi.Context, args *LookupBusinessServiceArgs, opts ...pulumi.InvokeOption) (*LookupBusinessServiceResult, error)
Use this data source to get information about a specific [business service](https://api-reference.pagerduty.com/#!/Business_Services/get_business_services).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.LookupBusinessService(ctx, &pagerduty.LookupBusinessServiceArgs{ Name: "My Service", }, nil) if err != nil { return err } return nil }) }
```
type LookupEscalationPolicyArgs ¶
type LookupEscalationPolicyArgs struct { // The name to use to find an escalation policy in the PagerDuty API. Name string `pulumi:"name"` }
A collection of arguments for invoking getEscalationPolicy.
type LookupEscalationPolicyResult ¶
type LookupEscalationPolicyResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The short name of the found escalation policy. Name string `pulumi:"name"` }
A collection of values returned by getEscalationPolicy.
func LookupEscalationPolicy ¶
func LookupEscalationPolicy(ctx *pulumi.Context, args *LookupEscalationPolicyArgs, opts ...pulumi.InvokeOption) (*LookupEscalationPolicyResult, error)
Use this data source to get information about a specific [escalation policy](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1escalation_policies/get) that you can use for other PagerDuty resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testEscalationPolicy, err := pagerduty.LookupEscalationPolicy(ctx, &pagerduty.LookupEscalationPolicyArgs{ Name: "Engineering Escalation Policy", }, nil) if err != nil { return err } _, err = pagerduty.NewService(ctx, "testService", &pagerduty.ServiceArgs{ AutoResolveTimeout: pulumi.String("14400"), AcknowledgementTimeout: pulumi.String("600"), EscalationPolicy: pulumi.String(testEscalationPolicy.Id), }) if err != nil { return err } return nil }) }
```
type LookupRulesetArgs ¶
type LookupRulesetArgs struct { // The name of the ruleset to find in the PagerDuty API. Name string `pulumi:"name"` }
A collection of arguments for invoking getRuleset.
type LookupRulesetResult ¶
type LookupRulesetResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the found ruleset. Name string `pulumi:"name"` // Routing keys routed to this ruleset. RoutingKeys []string `pulumi:"routingKeys"` }
A collection of values returned by getRuleset.
func LookupRuleset ¶
func LookupRuleset(ctx *pulumi.Context, args *LookupRulesetArgs, opts ...pulumi.InvokeOption) (*LookupRulesetResult, error)
Use this data source to get information about a specific [ruleset](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1rulesets/get) that you can use for managing and grouping [event rules](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1rulesets~1%7Bid%7D~1rules/get).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := pagerduty.LookupRuleset(ctx, &pagerduty.LookupRulesetArgs{ Name: "My Ruleset", }, nil) if err != nil { return err } _, err = pagerduty.NewRulesetRule(ctx, "foo", &pagerduty.RulesetRuleArgs{ Ruleset: pulumi.String(example.Id), Position: pulumi.Int(0), Disabled: pulumi.Bool(false), Conditions: &pagerduty.RulesetRuleConditionsArgs{ Operator: pulumi.String("and"), Subconditions: pagerduty.RulesetRuleConditionsSubconditionArray{ &pagerduty.RulesetRuleConditionsSubconditionArgs{ Operator: pulumi.String("contains"), Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{ &pagerduty.RulesetRuleConditionsSubconditionParameterArgs{ Value: pulumi.String("disk space"), Path: pulumi.String("payload.summary"), }, }, }, &pagerduty.RulesetRuleConditionsSubconditionArgs{ Operator: pulumi.String("contains"), Parameters: pagerduty.RulesetRuleConditionsSubconditionParameterArray{ &pagerduty.RulesetRuleConditionsSubconditionParameterArgs{ Value: pulumi.String("db"), Path: pulumi.String("payload.source"), }, }, }, }, }, Actions: &pagerduty.RulesetRuleActionsArgs{ Routes: pagerduty.RulesetRuleActionsRouteArray{ &pagerduty.RulesetRuleActionsRouteArgs{ Value: pulumi.String("P5DTL0K"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Default Global Ruleset
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.LookupRuleset(ctx, &pagerduty.LookupRulesetArgs{ Name: "Default Global", }, nil) if err != nil { return err } return nil }) }
```
type LookupScheduleArgs ¶
type LookupScheduleArgs struct { // The name to use to find a schedule in the PagerDuty API. Name string `pulumi:"name"` }
A collection of arguments for invoking getSchedule.
type LookupScheduleResult ¶
type LookupScheduleResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The short name of the found schedule. Name string `pulumi:"name"` }
A collection of values returned by getSchedule.
func LookupSchedule ¶
func LookupSchedule(ctx *pulumi.Context, args *LookupScheduleArgs, opts ...pulumi.InvokeOption) (*LookupScheduleResult, error)
Use this data source to get information about a specific [schedule](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1schedules~1%7Bid%7D/get) that you can use for other PagerDuty resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { test, err := pagerduty.LookupSchedule(ctx, &pagerduty.LookupScheduleArgs{ Name: "Daily Engineering Rotation", }, nil) if err != nil { return err } _, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{ NumLoops: pulumi.Int(2), Rules: pagerduty.EscalationPolicyRuleArray{ &pagerduty.EscalationPolicyRuleArgs{ EscalationDelayInMinutes: pulumi.Int(10), Targets: pagerduty.EscalationPolicyRuleTargetArray{ &pagerduty.EscalationPolicyRuleTargetArgs{ Type: pulumi.String("schedule"), Id: pulumi.String(test.Id), }, }, }, }, }) if err != nil { return err } return nil }) }
```
type LookupServiceArgs ¶
type LookupServiceArgs struct { // The service name to use to find a service in the PagerDuty API. Name string `pulumi:"name"` }
A collection of arguments for invoking getService.
type LookupServiceIntegrationArgs ¶ added in v2.1.1
type LookupServiceIntegrationArgs struct { // The integration summary used to find the desired integration on the service IntegrationSummary string `pulumi:"integrationSummary"` // The service name to use to find a service in the PagerDuty API. ServiceName string `pulumi:"serviceName"` }
A collection of arguments for invoking getServiceIntegration.
type LookupServiceIntegrationResult ¶ added in v2.1.1
type LookupServiceIntegrationResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The integration key for the integration. This can be used to configure alerts. IntegrationKey string `pulumi:"integrationKey"` IntegrationSummary string `pulumi:"integrationSummary"` ServiceName string `pulumi:"serviceName"` }
A collection of values returned by getServiceIntegration.
func LookupServiceIntegration ¶ added in v2.1.1
func LookupServiceIntegration(ctx *pulumi.Context, args *LookupServiceIntegrationArgs, opts ...pulumi.InvokeOption) (*LookupServiceIntegrationResult, error)
Use this data source to get information about a specific service_integration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.LookupServiceIntegration(ctx, &pagerduty.LookupServiceIntegrationArgs{ IntegrationSummary: "Datadog", ServiceName: "My Service", }, nil) if err != nil { return err } return nil }) }
```
type LookupServiceResult ¶
type LookupServiceResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The short name of the found service. Name string `pulumi:"name"` }
A collection of values returned by getService.
func LookupService ¶
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
Use this data source to get information about a specific [service](https://api-reference.pagerduty.com/#!/Services/get_services).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleService, err := pagerduty.LookupService(ctx, &pagerduty.LookupServiceArgs{ Name: "My Service", }, nil) if err != nil { return err } datadog, err := pagerduty.GetVendor(ctx, &pagerduty.GetVendorArgs{ Name: "Datadog", }, nil) if err != nil { return err } _, err = pagerduty.NewServiceIntegration(ctx, "exampleServiceIntegration", &pagerduty.ServiceIntegrationArgs{ Vendor: pulumi.String(datadog.Id), Service: pulumi.String(exampleService.Id), Type: pulumi.String("generic_events_api_inbound_integration"), }) if err != nil { return err } return nil }) }
```
type LookupTeamArgs ¶
type LookupTeamArgs struct { // The name of the team to find in the PagerDuty API. Name string `pulumi:"name"` // ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information. Parent *string `pulumi:"parent"` }
A collection of arguments for invoking getTeam.
type LookupTeamResult ¶
type LookupTeamResult struct { // A description of the found team. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the found team. Name string `pulumi:"name"` // ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information. Parent *string `pulumi:"parent"` }
A collection of values returned by getTeam.
func LookupTeam ¶
func LookupTeam(ctx *pulumi.Context, args *LookupTeamArgs, opts ...pulumi.InvokeOption) (*LookupTeamResult, error)
Use this data source to get information about a specific [team](https://v1.developer.pagerduty.com/documentation/rest/teams/list) that you can use for other PagerDuty resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { me, err := pagerduty.LookupUser(ctx, &pagerduty.LookupUserArgs{ Email: "me@example.com", }, nil) if err != nil { return err } devops, err := pagerduty.LookupTeam(ctx, &pagerduty.LookupTeamArgs{ Name: "devops", }, nil) if err != nil { return err } _, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{ NumLoops: pulumi.Int(2), Teams: pulumi.StringArray{ pulumi.String(devops.Id), }, Rules: pagerduty.EscalationPolicyRuleArray{ &pagerduty.EscalationPolicyRuleArgs{ EscalationDelayInMinutes: pulumi.Int(10), Targets: pagerduty.EscalationPolicyRuleTargetArray{ &pagerduty.EscalationPolicyRuleTargetArgs{ Type: pulumi.String("user"), Id: pulumi.String(me.Id), }, }, }, }, }) if err != nil { return err } return nil }) }
```
type LookupUserArgs ¶
type LookupUserArgs struct { // The email to use to find a user in the PagerDuty API. Email string `pulumi:"email"` }
A collection of arguments for invoking getUser.
type LookupUserContactMethodArgs ¶
type LookupUserContactMethodArgs struct { // The label (e.g., "Work", "Mobile", "Ashley's iPhone", etc.). Label string `pulumi:"label"` // The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`). Type string `pulumi:"type"` // The ID of the user. UserId string `pulumi:"userId"` }
A collection of arguments for invoking getUserContactMethod.
type LookupUserContactMethodResult ¶
type LookupUserContactMethodResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The label (e.g., "Work", "Mobile", "Ashley's iPhone", etc.). Label string `pulumi:"label"` // The type of the found contact method. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`). Type string `pulumi:"type"` UserId string `pulumi:"userId"` }
A collection of values returned by getUserContactMethod.
func LookupUserContactMethod ¶
func LookupUserContactMethod(ctx *pulumi.Context, args *LookupUserContactMethodArgs, opts ...pulumi.InvokeOption) (*LookupUserContactMethodResult, error)
Use this data source to get information about a specific [contact method](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1contact_methods~1%7Bcontact_method_id%7D/get) of a PagerDuty [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D/get) that you can use for other PagerDuty resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { me, err := pagerduty.LookupUser(ctx, &pagerduty.LookupUserArgs{ Email: "me@example.com", }, nil) if err != nil { return err } phonePush, err := pagerduty.LookupUserContactMethod(ctx, &pagerduty.LookupUserContactMethodArgs{ UserId: me.Id, Type: "push_notification_contact_method", Label: "iPhone (John)", }, nil) if err != nil { return err } _, err = pagerduty.NewUserNotificationRule(ctx, "lowUrgencySms", &pagerduty.UserNotificationRuleArgs{ UserId: pulumi.String(me.Id), StartDelayInMinutes: pulumi.Int(5), Urgency: pulumi.String("high"), ContactMethod: &pagerduty.UserNotificationRuleContactMethodArgs{ Type: pulumi.String("push_notification_contact_method"), Id: pulumi.String(phonePush.Id), }, }) if err != nil { return err } return nil }) }
```
type LookupUserResult ¶
type LookupUserResult struct { Email string `pulumi:"email"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The short name of the found user. Name string `pulumi:"name"` }
A collection of values returned by getUser.
func LookupUser ¶
func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)
Use this data source to get information about a specific [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users/get) that you can use for other PagerDuty resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { me, err := pagerduty.LookupUser(ctx, &pagerduty.LookupUserArgs{ Email: "me@example.com", }, nil) if err != nil { return err } _, err = pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{ NumLoops: pulumi.Int(2), Rules: pagerduty.EscalationPolicyRuleArray{ &pagerduty.EscalationPolicyRuleArgs{ EscalationDelayInMinutes: pulumi.Int(10), Targets: pagerduty.EscalationPolicyRuleTargetArray{ &pagerduty.EscalationPolicyRuleTargetArgs{ Type: pulumi.String("user"), Id: pulumi.String(me.Id), }, }, }, }, }) if err != nil { return err } return nil }) }
```
type MaintenanceWindow ¶
type MaintenanceWindow struct { pulumi.CustomResourceState // A description for the maintenance window. Description pulumi.StringOutput `pulumi:"description"` // The maintenance window's end time. This is when the services will start creating incidents again. This date must be in the future and after the `startTime`. EndTime pulumi.StringOutput `pulumi:"endTime"` // A list of service IDs to include in the maintenance window. Services pulumi.StringArrayOutput `pulumi:"services"` // The maintenance window's start time. This is when the services will stop creating incidents. If this date is in the past, it will be updated to be the current time. StartTime pulumi.StringOutput `pulumi:"startTime"` }
A [maintenance window](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1maintenance_windows/get) is used to temporarily disable one or more services for a set period of time. No incidents will be triggered and no notifications will be received while a service is disabled by a maintenance window.
Maintenance windows are specified to start at a certain time and end after they have begun. Once started, a maintenance window cannot be deleted; it can only be ended immediately to re-enable the service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.NewMaintenanceWindow(ctx, "example", &pagerduty.MaintenanceWindowArgs{ StartTime: pulumi.String("2015-11-09T20:00:00-05:00"), EndTime: pulumi.String("2015-11-09T22:00:00-05:00"), Services: pulumi.StringArray{ pulumi.Any(pagerduty_service.Example.Id), }, }) if err != nil { return err } return nil }) }
```
## Import
Maintenance windows can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/maintenanceWindow:MaintenanceWindow main PLBP09X
```
func GetMaintenanceWindow ¶
func GetMaintenanceWindow(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MaintenanceWindowState, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)
GetMaintenanceWindow gets an existing MaintenanceWindow 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 NewMaintenanceWindow ¶
func NewMaintenanceWindow(ctx *pulumi.Context, name string, args *MaintenanceWindowArgs, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)
NewMaintenanceWindow registers a new resource with the given unique name, arguments, and options.
func (*MaintenanceWindow) ElementType ¶
func (*MaintenanceWindow) ElementType() reflect.Type
func (*MaintenanceWindow) ToMaintenanceWindowOutput ¶
func (i *MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput
func (*MaintenanceWindow) ToMaintenanceWindowOutputWithContext ¶
func (i *MaintenanceWindow) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
func (*MaintenanceWindow) ToMaintenanceWindowPtrOutput ¶
func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
func (*MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext ¶
func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput
type MaintenanceWindowArgs ¶
type MaintenanceWindowArgs struct { // A description for the maintenance window. Description pulumi.StringPtrInput // The maintenance window's end time. This is when the services will start creating incidents again. This date must be in the future and after the `startTime`. EndTime pulumi.StringInput // A list of service IDs to include in the maintenance window. Services pulumi.StringArrayInput // The maintenance window's start time. This is when the services will stop creating incidents. If this date is in the past, it will be updated to be the current time. StartTime pulumi.StringInput }
The set of arguments for constructing a MaintenanceWindow resource.
func (MaintenanceWindowArgs) ElementType ¶
func (MaintenanceWindowArgs) ElementType() reflect.Type
type MaintenanceWindowArray ¶
type MaintenanceWindowArray []MaintenanceWindowInput
func (MaintenanceWindowArray) ElementType ¶
func (MaintenanceWindowArray) ElementType() reflect.Type
func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutput ¶
func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput
func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext ¶
func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput
type MaintenanceWindowArrayInput ¶
type MaintenanceWindowArrayInput interface { pulumi.Input ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput ToMaintenanceWindowArrayOutputWithContext(context.Context) MaintenanceWindowArrayOutput }
MaintenanceWindowArrayInput is an input type that accepts MaintenanceWindowArray and MaintenanceWindowArrayOutput values. You can construct a concrete instance of `MaintenanceWindowArrayInput` via:
MaintenanceWindowArray{ MaintenanceWindowArgs{...} }
type MaintenanceWindowArrayOutput ¶
type MaintenanceWindowArrayOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowArrayOutput) ElementType ¶
func (MaintenanceWindowArrayOutput) ElementType() reflect.Type
func (MaintenanceWindowArrayOutput) Index ¶
func (o MaintenanceWindowArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowOutput
func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput ¶
func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput
func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext ¶
func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput
type MaintenanceWindowInput ¶
type MaintenanceWindowInput interface { pulumi.Input ToMaintenanceWindowOutput() MaintenanceWindowOutput ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput }
type MaintenanceWindowMap ¶
type MaintenanceWindowMap map[string]MaintenanceWindowInput
func (MaintenanceWindowMap) ElementType ¶
func (MaintenanceWindowMap) ElementType() reflect.Type
func (MaintenanceWindowMap) ToMaintenanceWindowMapOutput ¶
func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput
func (MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext ¶
func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput
type MaintenanceWindowMapInput ¶
type MaintenanceWindowMapInput interface { pulumi.Input ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput ToMaintenanceWindowMapOutputWithContext(context.Context) MaintenanceWindowMapOutput }
MaintenanceWindowMapInput is an input type that accepts MaintenanceWindowMap and MaintenanceWindowMapOutput values. You can construct a concrete instance of `MaintenanceWindowMapInput` via:
MaintenanceWindowMap{ "key": MaintenanceWindowArgs{...} }
type MaintenanceWindowMapOutput ¶
type MaintenanceWindowMapOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowMapOutput) ElementType ¶
func (MaintenanceWindowMapOutput) ElementType() reflect.Type
func (MaintenanceWindowMapOutput) MapIndex ¶
func (o MaintenanceWindowMapOutput) MapIndex(k pulumi.StringInput) MaintenanceWindowOutput
func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput ¶
func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput
func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext ¶
func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput
type MaintenanceWindowOutput ¶
type MaintenanceWindowOutput struct {
*pulumi.OutputState
}
func (MaintenanceWindowOutput) ElementType ¶
func (MaintenanceWindowOutput) ElementType() reflect.Type
func (MaintenanceWindowOutput) ToMaintenanceWindowOutput ¶
func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput
func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext ¶
func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput ¶
func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext ¶
func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput
type MaintenanceWindowPtrInput ¶
type MaintenanceWindowPtrInput interface { pulumi.Input ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput }
type MaintenanceWindowPtrOutput ¶
type MaintenanceWindowPtrOutput struct {
*pulumi.OutputState
}
func (MaintenanceWindowPtrOutput) ElementType ¶
func (MaintenanceWindowPtrOutput) ElementType() reflect.Type
func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput ¶
func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext ¶
func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput
type MaintenanceWindowState ¶
type MaintenanceWindowState struct { // A description for the maintenance window. Description pulumi.StringPtrInput // The maintenance window's end time. This is when the services will start creating incidents again. This date must be in the future and after the `startTime`. EndTime pulumi.StringPtrInput // A list of service IDs to include in the maintenance window. Services pulumi.StringArrayInput // The maintenance window's start time. This is when the services will stop creating incidents. If this date is in the past, it will be updated to be the current time. StartTime pulumi.StringPtrInput }
func (MaintenanceWindowState) ElementType ¶
func (MaintenanceWindowState) ElementType() reflect.Type
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
The provider type for the pagerduty 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
func (*Provider) ToProviderPtrOutput ¶
func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
func (*Provider) ToProviderPtrOutputWithContext ¶
func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderArgs ¶
type ProviderArgs struct { SkipCredentialsValidation pulumi.BoolPtrInput Token pulumi.StringInput }
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
func (ProviderOutput) ToProviderPtrOutput ¶
func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderOutput) ToProviderPtrOutputWithContext ¶
func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderPtrInput ¶
type ProviderPtrInput interface { pulumi.Input ToProviderPtrOutput() ProviderPtrOutput ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput }
type ProviderPtrOutput ¶
type ProviderPtrOutput struct {
*pulumi.OutputState
}
func (ProviderPtrOutput) ElementType ¶
func (ProviderPtrOutput) ElementType() reflect.Type
func (ProviderPtrOutput) ToProviderPtrOutput ¶
func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderPtrOutput) ToProviderPtrOutputWithContext ¶
func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ResponsePlay ¶
type ResponsePlay struct { pulumi.CustomResourceState // The telephone number that will be set as the conference number for any incident on which this response play is run. ConferenceNumber pulumi.StringPtrOutput `pulumi:"conferenceNumber"` // The URL that will be set as the conference URL for any incident on which this response play is run. ConferenceUrl pulumi.StringPtrOutput `pulumi:"conferenceUrl"` Description pulumi.StringOutput `pulumi:"description"` // The email of the user attributed to the request. Needs to be a valid email address of a user in the PagerDuty account. From pulumi.StringOutput `pulumi:"from"` // The name of the response play. Name pulumi.StringOutput `pulumi:"name"` // A user and/or escalation policy to be requested as a responder to any incident on which this response play is run. There can be multiple responders defined on a single response play. Responders ResponsePlayResponderArrayOutput `pulumi:"responders"` // The message body of the notification that will be sent to this response play's set of responders. If empty, a default response request notification will be sent. RespondersMessage pulumi.StringPtrOutput `pulumi:"respondersMessage"` // String representing how this response play is allowed to be run. Valid options are: Runnability pulumi.StringPtrOutput `pulumi:"runnability"` // A user and/or team to be added as a subscriber to any incident on which this response play is run. There can be multiple subscribers defined on a single response play. Subscribers ResponsePlaySubscriberArrayOutput `pulumi:"subscribers"` // The content of the notification that will be sent to all incident subscribers upon the running of this response play. Note that this includes any users who may have already been subscribed to the incident prior to the running of this response play. If empty, no notifications will be sent. SubscribersMessage pulumi.StringPtrOutput `pulumi:"subscribersMessage"` // The ID of the team associated with the response play. Team pulumi.StringPtrOutput `pulumi:"team"` // A string that determines the schema of the object. If not set, the default value is "responsePlay". Type pulumi.StringPtrOutput `pulumi:"type"` }
A [response play](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1response_plays/get) allows you to create packages of Incident Actions that can be applied during an Incident's life cycle.
## Import
Response Plays can be imported using the `id.from(email)`, e.g.
```sh
$ pulumi import pagerduty:index/responsePlay:ResponsePlay main 16208303-022b-f745-f2f5-560e537a2a74.user@email.com
```
func GetResponsePlay ¶
func GetResponsePlay(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResponsePlayState, opts ...pulumi.ResourceOption) (*ResponsePlay, error)
GetResponsePlay gets an existing ResponsePlay 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 NewResponsePlay ¶
func NewResponsePlay(ctx *pulumi.Context, name string, args *ResponsePlayArgs, opts ...pulumi.ResourceOption) (*ResponsePlay, error)
NewResponsePlay registers a new resource with the given unique name, arguments, and options.
func (*ResponsePlay) ElementType ¶
func (*ResponsePlay) ElementType() reflect.Type
func (*ResponsePlay) ToResponsePlayOutput ¶
func (i *ResponsePlay) ToResponsePlayOutput() ResponsePlayOutput
func (*ResponsePlay) ToResponsePlayOutputWithContext ¶
func (i *ResponsePlay) ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput
func (*ResponsePlay) ToResponsePlayPtrOutput ¶
func (i *ResponsePlay) ToResponsePlayPtrOutput() ResponsePlayPtrOutput
func (*ResponsePlay) ToResponsePlayPtrOutputWithContext ¶
func (i *ResponsePlay) ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput
type ResponsePlayArgs ¶
type ResponsePlayArgs struct { // The telephone number that will be set as the conference number for any incident on which this response play is run. ConferenceNumber pulumi.StringPtrInput // The URL that will be set as the conference URL for any incident on which this response play is run. ConferenceUrl pulumi.StringPtrInput Description pulumi.StringPtrInput // The email of the user attributed to the request. Needs to be a valid email address of a user in the PagerDuty account. From pulumi.StringInput // The name of the response play. Name pulumi.StringPtrInput // A user and/or escalation policy to be requested as a responder to any incident on which this response play is run. There can be multiple responders defined on a single response play. Responders ResponsePlayResponderArrayInput // The message body of the notification that will be sent to this response play's set of responders. If empty, a default response request notification will be sent. RespondersMessage pulumi.StringPtrInput // String representing how this response play is allowed to be run. Valid options are: Runnability pulumi.StringPtrInput // A user and/or team to be added as a subscriber to any incident on which this response play is run. There can be multiple subscribers defined on a single response play. Subscribers ResponsePlaySubscriberArrayInput // The content of the notification that will be sent to all incident subscribers upon the running of this response play. Note that this includes any users who may have already been subscribed to the incident prior to the running of this response play. If empty, no notifications will be sent. SubscribersMessage pulumi.StringPtrInput // The ID of the team associated with the response play. Team pulumi.StringPtrInput // A string that determines the schema of the object. If not set, the default value is "responsePlay". Type pulumi.StringPtrInput }
The set of arguments for constructing a ResponsePlay resource.
func (ResponsePlayArgs) ElementType ¶
func (ResponsePlayArgs) ElementType() reflect.Type
type ResponsePlayArray ¶
type ResponsePlayArray []ResponsePlayInput
func (ResponsePlayArray) ElementType ¶
func (ResponsePlayArray) ElementType() reflect.Type
func (ResponsePlayArray) ToResponsePlayArrayOutput ¶
func (i ResponsePlayArray) ToResponsePlayArrayOutput() ResponsePlayArrayOutput
func (ResponsePlayArray) ToResponsePlayArrayOutputWithContext ¶
func (i ResponsePlayArray) ToResponsePlayArrayOutputWithContext(ctx context.Context) ResponsePlayArrayOutput
type ResponsePlayArrayInput ¶
type ResponsePlayArrayInput interface { pulumi.Input ToResponsePlayArrayOutput() ResponsePlayArrayOutput ToResponsePlayArrayOutputWithContext(context.Context) ResponsePlayArrayOutput }
ResponsePlayArrayInput is an input type that accepts ResponsePlayArray and ResponsePlayArrayOutput values. You can construct a concrete instance of `ResponsePlayArrayInput` via:
ResponsePlayArray{ ResponsePlayArgs{...} }
type ResponsePlayArrayOutput ¶
type ResponsePlayArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlayArrayOutput) ElementType ¶
func (ResponsePlayArrayOutput) ElementType() reflect.Type
func (ResponsePlayArrayOutput) Index ¶
func (o ResponsePlayArrayOutput) Index(i pulumi.IntInput) ResponsePlayOutput
func (ResponsePlayArrayOutput) ToResponsePlayArrayOutput ¶
func (o ResponsePlayArrayOutput) ToResponsePlayArrayOutput() ResponsePlayArrayOutput
func (ResponsePlayArrayOutput) ToResponsePlayArrayOutputWithContext ¶
func (o ResponsePlayArrayOutput) ToResponsePlayArrayOutputWithContext(ctx context.Context) ResponsePlayArrayOutput
type ResponsePlayInput ¶
type ResponsePlayInput interface { pulumi.Input ToResponsePlayOutput() ResponsePlayOutput ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput }
type ResponsePlayMap ¶
type ResponsePlayMap map[string]ResponsePlayInput
func (ResponsePlayMap) ElementType ¶
func (ResponsePlayMap) ElementType() reflect.Type
func (ResponsePlayMap) ToResponsePlayMapOutput ¶
func (i ResponsePlayMap) ToResponsePlayMapOutput() ResponsePlayMapOutput
func (ResponsePlayMap) ToResponsePlayMapOutputWithContext ¶
func (i ResponsePlayMap) ToResponsePlayMapOutputWithContext(ctx context.Context) ResponsePlayMapOutput
type ResponsePlayMapInput ¶
type ResponsePlayMapInput interface { pulumi.Input ToResponsePlayMapOutput() ResponsePlayMapOutput ToResponsePlayMapOutputWithContext(context.Context) ResponsePlayMapOutput }
ResponsePlayMapInput is an input type that accepts ResponsePlayMap and ResponsePlayMapOutput values. You can construct a concrete instance of `ResponsePlayMapInput` via:
ResponsePlayMap{ "key": ResponsePlayArgs{...} }
type ResponsePlayMapOutput ¶
type ResponsePlayMapOutput struct{ *pulumi.OutputState }
func (ResponsePlayMapOutput) ElementType ¶
func (ResponsePlayMapOutput) ElementType() reflect.Type
func (ResponsePlayMapOutput) MapIndex ¶
func (o ResponsePlayMapOutput) MapIndex(k pulumi.StringInput) ResponsePlayOutput
func (ResponsePlayMapOutput) ToResponsePlayMapOutput ¶
func (o ResponsePlayMapOutput) ToResponsePlayMapOutput() ResponsePlayMapOutput
func (ResponsePlayMapOutput) ToResponsePlayMapOutputWithContext ¶
func (o ResponsePlayMapOutput) ToResponsePlayMapOutputWithContext(ctx context.Context) ResponsePlayMapOutput
type ResponsePlayOutput ¶
type ResponsePlayOutput struct {
*pulumi.OutputState
}
func (ResponsePlayOutput) ElementType ¶
func (ResponsePlayOutput) ElementType() reflect.Type
func (ResponsePlayOutput) ToResponsePlayOutput ¶
func (o ResponsePlayOutput) ToResponsePlayOutput() ResponsePlayOutput
func (ResponsePlayOutput) ToResponsePlayOutputWithContext ¶
func (o ResponsePlayOutput) ToResponsePlayOutputWithContext(ctx context.Context) ResponsePlayOutput
func (ResponsePlayOutput) ToResponsePlayPtrOutput ¶
func (o ResponsePlayOutput) ToResponsePlayPtrOutput() ResponsePlayPtrOutput
func (ResponsePlayOutput) ToResponsePlayPtrOutputWithContext ¶
func (o ResponsePlayOutput) ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput
type ResponsePlayPtrInput ¶
type ResponsePlayPtrInput interface { pulumi.Input ToResponsePlayPtrOutput() ResponsePlayPtrOutput ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput }
type ResponsePlayPtrOutput ¶
type ResponsePlayPtrOutput struct {
*pulumi.OutputState
}
func (ResponsePlayPtrOutput) ElementType ¶
func (ResponsePlayPtrOutput) ElementType() reflect.Type
func (ResponsePlayPtrOutput) ToResponsePlayPtrOutput ¶
func (o ResponsePlayPtrOutput) ToResponsePlayPtrOutput() ResponsePlayPtrOutput
func (ResponsePlayPtrOutput) ToResponsePlayPtrOutputWithContext ¶
func (o ResponsePlayPtrOutput) ToResponsePlayPtrOutputWithContext(ctx context.Context) ResponsePlayPtrOutput
type ResponsePlayResponder ¶
type ResponsePlayResponder struct { // Description of escalation policy Description *string `pulumi:"description"` // The escalation rules EscalationRules []ResponsePlayResponderEscalationRule `pulumi:"escalationRules"` // ID of the user defined as the responder Id *string `pulumi:"id"` // Name of the escalation policy Name *string `pulumi:"name"` // The number of times the escalation policy will repeat after reaching the end of its escalation. NumLoops *int `pulumi:"numLoops"` // Determines how on call handoff notifications will be sent for users on the escalation policy. Defaults to "ifHasServices". Could be "ifHasServices", "always OnCallHandoffNotifications *string `pulumi:"onCallHandoffNotifications"` // There can be multiple services associated with a policy. Services []ResponsePlayResponderService `pulumi:"services"` // Teams associated with the policy. Account must have the `teams` ability to use this parameter. There can be multiple teams associated with a policy. Teams []ResponsePlayResponderTeam `pulumi:"teams"` // Type of object of the target. Supported types are `user`, `schedule`, `userReference`, `scheduleReference`. Type *string `pulumi:"type"` }
type ResponsePlayResponderArgs ¶
type ResponsePlayResponderArgs struct { // Description of escalation policy Description pulumi.StringPtrInput `pulumi:"description"` // The escalation rules EscalationRules ResponsePlayResponderEscalationRuleArrayInput `pulumi:"escalationRules"` // ID of the user defined as the responder Id pulumi.StringPtrInput `pulumi:"id"` // Name of the escalation policy Name pulumi.StringPtrInput `pulumi:"name"` // The number of times the escalation policy will repeat after reaching the end of its escalation. NumLoops pulumi.IntPtrInput `pulumi:"numLoops"` // Determines how on call handoff notifications will be sent for users on the escalation policy. Defaults to "ifHasServices". Could be "ifHasServices", "always OnCallHandoffNotifications pulumi.StringPtrInput `pulumi:"onCallHandoffNotifications"` // There can be multiple services associated with a policy. Services ResponsePlayResponderServiceArrayInput `pulumi:"services"` // Teams associated with the policy. Account must have the `teams` ability to use this parameter. There can be multiple teams associated with a policy. Teams ResponsePlayResponderTeamArrayInput `pulumi:"teams"` // Type of object of the target. Supported types are `user`, `schedule`, `userReference`, `scheduleReference`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (ResponsePlayResponderArgs) ElementType ¶
func (ResponsePlayResponderArgs) ElementType() reflect.Type
func (ResponsePlayResponderArgs) ToResponsePlayResponderOutput ¶
func (i ResponsePlayResponderArgs) ToResponsePlayResponderOutput() ResponsePlayResponderOutput
func (ResponsePlayResponderArgs) ToResponsePlayResponderOutputWithContext ¶
func (i ResponsePlayResponderArgs) ToResponsePlayResponderOutputWithContext(ctx context.Context) ResponsePlayResponderOutput
type ResponsePlayResponderArray ¶
type ResponsePlayResponderArray []ResponsePlayResponderInput
func (ResponsePlayResponderArray) ElementType ¶
func (ResponsePlayResponderArray) ElementType() reflect.Type
func (ResponsePlayResponderArray) ToResponsePlayResponderArrayOutput ¶
func (i ResponsePlayResponderArray) ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput
func (ResponsePlayResponderArray) ToResponsePlayResponderArrayOutputWithContext ¶
func (i ResponsePlayResponderArray) ToResponsePlayResponderArrayOutputWithContext(ctx context.Context) ResponsePlayResponderArrayOutput
type ResponsePlayResponderArrayInput ¶
type ResponsePlayResponderArrayInput interface { pulumi.Input ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput ToResponsePlayResponderArrayOutputWithContext(context.Context) ResponsePlayResponderArrayOutput }
ResponsePlayResponderArrayInput is an input type that accepts ResponsePlayResponderArray and ResponsePlayResponderArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderArrayInput` via:
ResponsePlayResponderArray{ ResponsePlayResponderArgs{...} }
type ResponsePlayResponderArrayOutput ¶
type ResponsePlayResponderArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderArrayOutput) ElementType ¶
func (ResponsePlayResponderArrayOutput) ElementType() reflect.Type
func (ResponsePlayResponderArrayOutput) Index ¶
func (o ResponsePlayResponderArrayOutput) Index(i pulumi.IntInput) ResponsePlayResponderOutput
func (ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutput ¶
func (o ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutput() ResponsePlayResponderArrayOutput
func (ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutputWithContext ¶
func (o ResponsePlayResponderArrayOutput) ToResponsePlayResponderArrayOutputWithContext(ctx context.Context) ResponsePlayResponderArrayOutput
type ResponsePlayResponderEscalationRule ¶
type ResponsePlayResponderEscalationRule struct { // The number of minutes before an unacknowledged incident escalates away from this rule. EscalationDelayInMinutes *int `pulumi:"escalationDelayInMinutes"` // ID of the user defined as the responder Id *string `pulumi:"id"` // The targets an incident should be assigned to upon reaching this rule. Targets []ResponsePlayResponderEscalationRuleTarget `pulumi:"targets"` }
type ResponsePlayResponderEscalationRuleArgs ¶
type ResponsePlayResponderEscalationRuleArgs struct { // The number of minutes before an unacknowledged incident escalates away from this rule. EscalationDelayInMinutes pulumi.IntPtrInput `pulumi:"escalationDelayInMinutes"` // ID of the user defined as the responder Id pulumi.StringPtrInput `pulumi:"id"` // The targets an incident should be assigned to upon reaching this rule. Targets ResponsePlayResponderEscalationRuleTargetArrayInput `pulumi:"targets"` }
func (ResponsePlayResponderEscalationRuleArgs) ElementType ¶
func (ResponsePlayResponderEscalationRuleArgs) ElementType() reflect.Type
func (ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutput ¶
func (i ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput
func (ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutputWithContext ¶
func (i ResponsePlayResponderEscalationRuleArgs) ToResponsePlayResponderEscalationRuleOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleOutput
type ResponsePlayResponderEscalationRuleArray ¶
type ResponsePlayResponderEscalationRuleArray []ResponsePlayResponderEscalationRuleInput
func (ResponsePlayResponderEscalationRuleArray) ElementType ¶
func (ResponsePlayResponderEscalationRuleArray) ElementType() reflect.Type
func (ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutput ¶
func (i ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput
func (ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutputWithContext ¶
func (i ResponsePlayResponderEscalationRuleArray) ToResponsePlayResponderEscalationRuleArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleArrayOutput
type ResponsePlayResponderEscalationRuleArrayInput ¶
type ResponsePlayResponderEscalationRuleArrayInput interface { pulumi.Input ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput ToResponsePlayResponderEscalationRuleArrayOutputWithContext(context.Context) ResponsePlayResponderEscalationRuleArrayOutput }
ResponsePlayResponderEscalationRuleArrayInput is an input type that accepts ResponsePlayResponderEscalationRuleArray and ResponsePlayResponderEscalationRuleArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderEscalationRuleArrayInput` via:
ResponsePlayResponderEscalationRuleArray{ ResponsePlayResponderEscalationRuleArgs{...} }
type ResponsePlayResponderEscalationRuleArrayOutput ¶
type ResponsePlayResponderEscalationRuleArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderEscalationRuleArrayOutput) ElementType ¶
func (ResponsePlayResponderEscalationRuleArrayOutput) ElementType() reflect.Type
func (ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutput ¶
func (o ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutput() ResponsePlayResponderEscalationRuleArrayOutput
func (ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutputWithContext ¶
func (o ResponsePlayResponderEscalationRuleArrayOutput) ToResponsePlayResponderEscalationRuleArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleArrayOutput
type ResponsePlayResponderEscalationRuleInput ¶
type ResponsePlayResponderEscalationRuleInput interface { pulumi.Input ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput ToResponsePlayResponderEscalationRuleOutputWithContext(context.Context) ResponsePlayResponderEscalationRuleOutput }
ResponsePlayResponderEscalationRuleInput is an input type that accepts ResponsePlayResponderEscalationRuleArgs and ResponsePlayResponderEscalationRuleOutput values. You can construct a concrete instance of `ResponsePlayResponderEscalationRuleInput` via:
ResponsePlayResponderEscalationRuleArgs{...}
type ResponsePlayResponderEscalationRuleOutput ¶
type ResponsePlayResponderEscalationRuleOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderEscalationRuleOutput) ElementType ¶
func (ResponsePlayResponderEscalationRuleOutput) ElementType() reflect.Type
func (ResponsePlayResponderEscalationRuleOutput) EscalationDelayInMinutes ¶
func (o ResponsePlayResponderEscalationRuleOutput) EscalationDelayInMinutes() pulumi.IntPtrOutput
The number of minutes before an unacknowledged incident escalates away from this rule.
func (ResponsePlayResponderEscalationRuleOutput) Id ¶
func (o ResponsePlayResponderEscalationRuleOutput) Id() pulumi.StringPtrOutput
ID of the user defined as the responder
func (ResponsePlayResponderEscalationRuleOutput) Targets ¶
func (o ResponsePlayResponderEscalationRuleOutput) Targets() ResponsePlayResponderEscalationRuleTargetArrayOutput
The targets an incident should be assigned to upon reaching this rule.
func (ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutput ¶
func (o ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutput() ResponsePlayResponderEscalationRuleOutput
func (ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutputWithContext ¶
func (o ResponsePlayResponderEscalationRuleOutput) ToResponsePlayResponderEscalationRuleOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleOutput
type ResponsePlayResponderEscalationRuleTargetArgs ¶
type ResponsePlayResponderEscalationRuleTargetArgs struct { // ID of the user defined as the responder Id pulumi.StringPtrInput `pulumi:"id"` // A string that determines the schema of the object. If not set, the default value is "responsePlay". Type pulumi.StringPtrInput `pulumi:"type"` }
func (ResponsePlayResponderEscalationRuleTargetArgs) ElementType ¶
func (ResponsePlayResponderEscalationRuleTargetArgs) ElementType() reflect.Type
func (ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutput ¶
func (i ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput
func (ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutputWithContext ¶
func (i ResponsePlayResponderEscalationRuleTargetArgs) ToResponsePlayResponderEscalationRuleTargetOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetOutput
type ResponsePlayResponderEscalationRuleTargetArray ¶
type ResponsePlayResponderEscalationRuleTargetArray []ResponsePlayResponderEscalationRuleTargetInput
func (ResponsePlayResponderEscalationRuleTargetArray) ElementType ¶
func (ResponsePlayResponderEscalationRuleTargetArray) ElementType() reflect.Type
func (ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutput ¶
func (i ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutput() ResponsePlayResponderEscalationRuleTargetArrayOutput
func (ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext ¶
func (i ResponsePlayResponderEscalationRuleTargetArray) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput
type ResponsePlayResponderEscalationRuleTargetArrayInput ¶
type ResponsePlayResponderEscalationRuleTargetArrayInput interface { pulumi.Input ToResponsePlayResponderEscalationRuleTargetArrayOutput() ResponsePlayResponderEscalationRuleTargetArrayOutput ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput }
ResponsePlayResponderEscalationRuleTargetArrayInput is an input type that accepts ResponsePlayResponderEscalationRuleTargetArray and ResponsePlayResponderEscalationRuleTargetArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderEscalationRuleTargetArrayInput` via:
ResponsePlayResponderEscalationRuleTargetArray{ ResponsePlayResponderEscalationRuleTargetArgs{...} }
type ResponsePlayResponderEscalationRuleTargetArrayOutput ¶
type ResponsePlayResponderEscalationRuleTargetArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ElementType ¶
func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ElementType() reflect.Type
func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutput ¶
func (o ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutput() ResponsePlayResponderEscalationRuleTargetArrayOutput
func (ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext ¶
func (o ResponsePlayResponderEscalationRuleTargetArrayOutput) ToResponsePlayResponderEscalationRuleTargetArrayOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetArrayOutput
type ResponsePlayResponderEscalationRuleTargetInput ¶
type ResponsePlayResponderEscalationRuleTargetInput interface { pulumi.Input ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput ToResponsePlayResponderEscalationRuleTargetOutputWithContext(context.Context) ResponsePlayResponderEscalationRuleTargetOutput }
ResponsePlayResponderEscalationRuleTargetInput is an input type that accepts ResponsePlayResponderEscalationRuleTargetArgs and ResponsePlayResponderEscalationRuleTargetOutput values. You can construct a concrete instance of `ResponsePlayResponderEscalationRuleTargetInput` via:
ResponsePlayResponderEscalationRuleTargetArgs{...}
type ResponsePlayResponderEscalationRuleTargetOutput ¶
type ResponsePlayResponderEscalationRuleTargetOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderEscalationRuleTargetOutput) ElementType ¶
func (ResponsePlayResponderEscalationRuleTargetOutput) ElementType() reflect.Type
func (ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutput ¶
func (o ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutput() ResponsePlayResponderEscalationRuleTargetOutput
func (ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutputWithContext ¶
func (o ResponsePlayResponderEscalationRuleTargetOutput) ToResponsePlayResponderEscalationRuleTargetOutputWithContext(ctx context.Context) ResponsePlayResponderEscalationRuleTargetOutput
func (ResponsePlayResponderEscalationRuleTargetOutput) Type ¶
func (o ResponsePlayResponderEscalationRuleTargetOutput) Type() pulumi.StringPtrOutput
A string that determines the schema of the object. If not set, the default value is "responsePlay".
type ResponsePlayResponderInput ¶
type ResponsePlayResponderInput interface { pulumi.Input ToResponsePlayResponderOutput() ResponsePlayResponderOutput ToResponsePlayResponderOutputWithContext(context.Context) ResponsePlayResponderOutput }
ResponsePlayResponderInput is an input type that accepts ResponsePlayResponderArgs and ResponsePlayResponderOutput values. You can construct a concrete instance of `ResponsePlayResponderInput` via:
ResponsePlayResponderArgs{...}
type ResponsePlayResponderOutput ¶
type ResponsePlayResponderOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderOutput) Description ¶
func (o ResponsePlayResponderOutput) Description() pulumi.StringPtrOutput
Description of escalation policy
func (ResponsePlayResponderOutput) ElementType ¶
func (ResponsePlayResponderOutput) ElementType() reflect.Type
func (ResponsePlayResponderOutput) EscalationRules ¶
func (o ResponsePlayResponderOutput) EscalationRules() ResponsePlayResponderEscalationRuleArrayOutput
The escalation rules
func (ResponsePlayResponderOutput) Id ¶
func (o ResponsePlayResponderOutput) Id() pulumi.StringPtrOutput
ID of the user defined as the responder
func (ResponsePlayResponderOutput) Name ¶
func (o ResponsePlayResponderOutput) Name() pulumi.StringPtrOutput
Name of the escalation policy
func (ResponsePlayResponderOutput) NumLoops ¶
func (o ResponsePlayResponderOutput) NumLoops() pulumi.IntPtrOutput
The number of times the escalation policy will repeat after reaching the end of its escalation.
func (ResponsePlayResponderOutput) OnCallHandoffNotifications ¶
func (o ResponsePlayResponderOutput) OnCallHandoffNotifications() pulumi.StringPtrOutput
Determines how on call handoff notifications will be sent for users on the escalation policy. Defaults to "ifHasServices". Could be "ifHasServices", "always
func (ResponsePlayResponderOutput) Services ¶
func (o ResponsePlayResponderOutput) Services() ResponsePlayResponderServiceArrayOutput
There can be multiple services associated with a policy.
func (ResponsePlayResponderOutput) Teams ¶
func (o ResponsePlayResponderOutput) Teams() ResponsePlayResponderTeamArrayOutput
Teams associated with the policy. Account must have the `teams` ability to use this parameter. There can be multiple teams associated with a policy.
func (ResponsePlayResponderOutput) ToResponsePlayResponderOutput ¶
func (o ResponsePlayResponderOutput) ToResponsePlayResponderOutput() ResponsePlayResponderOutput
func (ResponsePlayResponderOutput) ToResponsePlayResponderOutputWithContext ¶
func (o ResponsePlayResponderOutput) ToResponsePlayResponderOutputWithContext(ctx context.Context) ResponsePlayResponderOutput
func (ResponsePlayResponderOutput) Type ¶
func (o ResponsePlayResponderOutput) Type() pulumi.StringPtrOutput
Type of object of the target. Supported types are `user`, `schedule`, `userReference`, `scheduleReference`.
type ResponsePlayResponderServiceArgs ¶
type ResponsePlayResponderServiceArgs struct { // ID of the user defined as the responder Id pulumi.StringPtrInput `pulumi:"id"` // A string that determines the schema of the object. If not set, the default value is "responsePlay". Type pulumi.StringPtrInput `pulumi:"type"` }
func (ResponsePlayResponderServiceArgs) ElementType ¶
func (ResponsePlayResponderServiceArgs) ElementType() reflect.Type
func (ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutput ¶
func (i ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput
func (ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutputWithContext ¶
func (i ResponsePlayResponderServiceArgs) ToResponsePlayResponderServiceOutputWithContext(ctx context.Context) ResponsePlayResponderServiceOutput
type ResponsePlayResponderServiceArray ¶
type ResponsePlayResponderServiceArray []ResponsePlayResponderServiceInput
func (ResponsePlayResponderServiceArray) ElementType ¶
func (ResponsePlayResponderServiceArray) ElementType() reflect.Type
func (ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutput ¶
func (i ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput
func (ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutputWithContext ¶
func (i ResponsePlayResponderServiceArray) ToResponsePlayResponderServiceArrayOutputWithContext(ctx context.Context) ResponsePlayResponderServiceArrayOutput
type ResponsePlayResponderServiceArrayInput ¶
type ResponsePlayResponderServiceArrayInput interface { pulumi.Input ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput ToResponsePlayResponderServiceArrayOutputWithContext(context.Context) ResponsePlayResponderServiceArrayOutput }
ResponsePlayResponderServiceArrayInput is an input type that accepts ResponsePlayResponderServiceArray and ResponsePlayResponderServiceArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderServiceArrayInput` via:
ResponsePlayResponderServiceArray{ ResponsePlayResponderServiceArgs{...} }
type ResponsePlayResponderServiceArrayOutput ¶
type ResponsePlayResponderServiceArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderServiceArrayOutput) ElementType ¶
func (ResponsePlayResponderServiceArrayOutput) ElementType() reflect.Type
func (ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutput ¶
func (o ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutput() ResponsePlayResponderServiceArrayOutput
func (ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutputWithContext ¶
func (o ResponsePlayResponderServiceArrayOutput) ToResponsePlayResponderServiceArrayOutputWithContext(ctx context.Context) ResponsePlayResponderServiceArrayOutput
type ResponsePlayResponderServiceInput ¶
type ResponsePlayResponderServiceInput interface { pulumi.Input ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput ToResponsePlayResponderServiceOutputWithContext(context.Context) ResponsePlayResponderServiceOutput }
ResponsePlayResponderServiceInput is an input type that accepts ResponsePlayResponderServiceArgs and ResponsePlayResponderServiceOutput values. You can construct a concrete instance of `ResponsePlayResponderServiceInput` via:
ResponsePlayResponderServiceArgs{...}
type ResponsePlayResponderServiceOutput ¶
type ResponsePlayResponderServiceOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderServiceOutput) ElementType ¶
func (ResponsePlayResponderServiceOutput) ElementType() reflect.Type
func (ResponsePlayResponderServiceOutput) Id ¶
func (o ResponsePlayResponderServiceOutput) Id() pulumi.StringPtrOutput
ID of the user defined as the responder
func (ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutput ¶
func (o ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutput() ResponsePlayResponderServiceOutput
func (ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutputWithContext ¶
func (o ResponsePlayResponderServiceOutput) ToResponsePlayResponderServiceOutputWithContext(ctx context.Context) ResponsePlayResponderServiceOutput
func (ResponsePlayResponderServiceOutput) Type ¶
func (o ResponsePlayResponderServiceOutput) Type() pulumi.StringPtrOutput
A string that determines the schema of the object. If not set, the default value is "responsePlay".
type ResponsePlayResponderTeamArgs ¶
type ResponsePlayResponderTeamArgs struct { // ID of the user defined as the responder Id pulumi.StringPtrInput `pulumi:"id"` // A string that determines the schema of the object. If not set, the default value is "responsePlay". Type pulumi.StringInput `pulumi:"type"` }
func (ResponsePlayResponderTeamArgs) ElementType ¶
func (ResponsePlayResponderTeamArgs) ElementType() reflect.Type
func (ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutput ¶
func (i ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput
func (ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutputWithContext ¶
func (i ResponsePlayResponderTeamArgs) ToResponsePlayResponderTeamOutputWithContext(ctx context.Context) ResponsePlayResponderTeamOutput
type ResponsePlayResponderTeamArray ¶
type ResponsePlayResponderTeamArray []ResponsePlayResponderTeamInput
func (ResponsePlayResponderTeamArray) ElementType ¶
func (ResponsePlayResponderTeamArray) ElementType() reflect.Type
func (ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutput ¶
func (i ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput
func (ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutputWithContext ¶
func (i ResponsePlayResponderTeamArray) ToResponsePlayResponderTeamArrayOutputWithContext(ctx context.Context) ResponsePlayResponderTeamArrayOutput
type ResponsePlayResponderTeamArrayInput ¶
type ResponsePlayResponderTeamArrayInput interface { pulumi.Input ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput ToResponsePlayResponderTeamArrayOutputWithContext(context.Context) ResponsePlayResponderTeamArrayOutput }
ResponsePlayResponderTeamArrayInput is an input type that accepts ResponsePlayResponderTeamArray and ResponsePlayResponderTeamArrayOutput values. You can construct a concrete instance of `ResponsePlayResponderTeamArrayInput` via:
ResponsePlayResponderTeamArray{ ResponsePlayResponderTeamArgs{...} }
type ResponsePlayResponderTeamArrayOutput ¶
type ResponsePlayResponderTeamArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderTeamArrayOutput) ElementType ¶
func (ResponsePlayResponderTeamArrayOutput) ElementType() reflect.Type
func (ResponsePlayResponderTeamArrayOutput) Index ¶
func (o ResponsePlayResponderTeamArrayOutput) Index(i pulumi.IntInput) ResponsePlayResponderTeamOutput
func (ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutput ¶
func (o ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutput() ResponsePlayResponderTeamArrayOutput
func (ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutputWithContext ¶
func (o ResponsePlayResponderTeamArrayOutput) ToResponsePlayResponderTeamArrayOutputWithContext(ctx context.Context) ResponsePlayResponderTeamArrayOutput
type ResponsePlayResponderTeamInput ¶
type ResponsePlayResponderTeamInput interface { pulumi.Input ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput ToResponsePlayResponderTeamOutputWithContext(context.Context) ResponsePlayResponderTeamOutput }
ResponsePlayResponderTeamInput is an input type that accepts ResponsePlayResponderTeamArgs and ResponsePlayResponderTeamOutput values. You can construct a concrete instance of `ResponsePlayResponderTeamInput` via:
ResponsePlayResponderTeamArgs{...}
type ResponsePlayResponderTeamOutput ¶
type ResponsePlayResponderTeamOutput struct{ *pulumi.OutputState }
func (ResponsePlayResponderTeamOutput) ElementType ¶
func (ResponsePlayResponderTeamOutput) ElementType() reflect.Type
func (ResponsePlayResponderTeamOutput) Id ¶
func (o ResponsePlayResponderTeamOutput) Id() pulumi.StringPtrOutput
ID of the user defined as the responder
func (ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutput ¶
func (o ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutput() ResponsePlayResponderTeamOutput
func (ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutputWithContext ¶
func (o ResponsePlayResponderTeamOutput) ToResponsePlayResponderTeamOutputWithContext(ctx context.Context) ResponsePlayResponderTeamOutput
func (ResponsePlayResponderTeamOutput) Type ¶
func (o ResponsePlayResponderTeamOutput) Type() pulumi.StringOutput
A string that determines the schema of the object. If not set, the default value is "responsePlay".
type ResponsePlayState ¶
type ResponsePlayState struct { // The telephone number that will be set as the conference number for any incident on which this response play is run. ConferenceNumber pulumi.StringPtrInput // The URL that will be set as the conference URL for any incident on which this response play is run. ConferenceUrl pulumi.StringPtrInput Description pulumi.StringPtrInput // The email of the user attributed to the request. Needs to be a valid email address of a user in the PagerDuty account. From pulumi.StringPtrInput // The name of the response play. Name pulumi.StringPtrInput // A user and/or escalation policy to be requested as a responder to any incident on which this response play is run. There can be multiple responders defined on a single response play. Responders ResponsePlayResponderArrayInput // The message body of the notification that will be sent to this response play's set of responders. If empty, a default response request notification will be sent. RespondersMessage pulumi.StringPtrInput // String representing how this response play is allowed to be run. Valid options are: Runnability pulumi.StringPtrInput // A user and/or team to be added as a subscriber to any incident on which this response play is run. There can be multiple subscribers defined on a single response play. Subscribers ResponsePlaySubscriberArrayInput // The content of the notification that will be sent to all incident subscribers upon the running of this response play. Note that this includes any users who may have already been subscribed to the incident prior to the running of this response play. If empty, no notifications will be sent. SubscribersMessage pulumi.StringPtrInput // The ID of the team associated with the response play. Team pulumi.StringPtrInput // A string that determines the schema of the object. If not set, the default value is "responsePlay". Type pulumi.StringPtrInput }
func (ResponsePlayState) ElementType ¶
func (ResponsePlayState) ElementType() reflect.Type
type ResponsePlaySubscriber ¶
type ResponsePlaySubscriberArgs ¶
type ResponsePlaySubscriberArgs struct { // ID of the user defined as the responder Id pulumi.StringPtrInput `pulumi:"id"` // A string that determines the schema of the object. If not set, the default value is "responsePlay". Type pulumi.StringPtrInput `pulumi:"type"` }
func (ResponsePlaySubscriberArgs) ElementType ¶
func (ResponsePlaySubscriberArgs) ElementType() reflect.Type
func (ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutput ¶
func (i ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutput() ResponsePlaySubscriberOutput
func (ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutputWithContext ¶
func (i ResponsePlaySubscriberArgs) ToResponsePlaySubscriberOutputWithContext(ctx context.Context) ResponsePlaySubscriberOutput
type ResponsePlaySubscriberArray ¶
type ResponsePlaySubscriberArray []ResponsePlaySubscriberInput
func (ResponsePlaySubscriberArray) ElementType ¶
func (ResponsePlaySubscriberArray) ElementType() reflect.Type
func (ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutput ¶
func (i ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput
func (ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutputWithContext ¶
func (i ResponsePlaySubscriberArray) ToResponsePlaySubscriberArrayOutputWithContext(ctx context.Context) ResponsePlaySubscriberArrayOutput
type ResponsePlaySubscriberArrayInput ¶
type ResponsePlaySubscriberArrayInput interface { pulumi.Input ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput ToResponsePlaySubscriberArrayOutputWithContext(context.Context) ResponsePlaySubscriberArrayOutput }
ResponsePlaySubscriberArrayInput is an input type that accepts ResponsePlaySubscriberArray and ResponsePlaySubscriberArrayOutput values. You can construct a concrete instance of `ResponsePlaySubscriberArrayInput` via:
ResponsePlaySubscriberArray{ ResponsePlaySubscriberArgs{...} }
type ResponsePlaySubscriberArrayOutput ¶
type ResponsePlaySubscriberArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlaySubscriberArrayOutput) ElementType ¶
func (ResponsePlaySubscriberArrayOutput) ElementType() reflect.Type
func (ResponsePlaySubscriberArrayOutput) Index ¶
func (o ResponsePlaySubscriberArrayOutput) Index(i pulumi.IntInput) ResponsePlaySubscriberOutput
func (ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutput ¶
func (o ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutput() ResponsePlaySubscriberArrayOutput
func (ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutputWithContext ¶
func (o ResponsePlaySubscriberArrayOutput) ToResponsePlaySubscriberArrayOutputWithContext(ctx context.Context) ResponsePlaySubscriberArrayOutput
type ResponsePlaySubscriberInput ¶
type ResponsePlaySubscriberInput interface { pulumi.Input ToResponsePlaySubscriberOutput() ResponsePlaySubscriberOutput ToResponsePlaySubscriberOutputWithContext(context.Context) ResponsePlaySubscriberOutput }
ResponsePlaySubscriberInput is an input type that accepts ResponsePlaySubscriberArgs and ResponsePlaySubscriberOutput values. You can construct a concrete instance of `ResponsePlaySubscriberInput` via:
ResponsePlaySubscriberArgs{...}
type ResponsePlaySubscriberOutput ¶
type ResponsePlaySubscriberOutput struct{ *pulumi.OutputState }
func (ResponsePlaySubscriberOutput) ElementType ¶
func (ResponsePlaySubscriberOutput) ElementType() reflect.Type
func (ResponsePlaySubscriberOutput) Id ¶
func (o ResponsePlaySubscriberOutput) Id() pulumi.StringPtrOutput
ID of the user defined as the responder
func (ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutput ¶
func (o ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutput() ResponsePlaySubscriberOutput
func (ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutputWithContext ¶
func (o ResponsePlaySubscriberOutput) ToResponsePlaySubscriberOutputWithContext(ctx context.Context) ResponsePlaySubscriberOutput
func (ResponsePlaySubscriberOutput) Type ¶
func (o ResponsePlaySubscriberOutput) Type() pulumi.StringPtrOutput
A string that determines the schema of the object. If not set, the default value is "responsePlay".
type Ruleset ¶
type Ruleset struct { pulumi.CustomResourceState // Name of the ruleset. Name pulumi.StringOutput `pulumi:"name"` // Routing keys routed to this ruleset. RoutingKeys pulumi.StringArrayOutput `pulumi:"routingKeys"` // Reference to the team that owns the ruleset. If none is specified, only admins have access. Team RulesetTeamPtrOutput `pulumi:"team"` // Type of ruleset. Currently only sets to `global`. Type pulumi.StringOutput `pulumi:"type"` }
[Rulesets](https://support.pagerduty.com/docs/rulesets) allow you to route events to an endpoint and create collections of event rules, which define sets of actions to take based on event content.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooTeam, err := pagerduty.NewTeam(ctx, "fooTeam", nil) if err != nil { return err } _, err = pagerduty.NewRuleset(ctx, "fooRuleset", &pagerduty.RulesetArgs{ Team: &pagerduty.RulesetTeamArgs{ Id: fooTeam.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
Rulesets can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/ruleset:Ruleset main 19acac92-027a-4ea0-b06c-bbf516519601
```
func GetRuleset ¶
func GetRuleset(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RulesetState, opts ...pulumi.ResourceOption) (*Ruleset, error)
GetRuleset gets an existing Ruleset 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 NewRuleset ¶
func NewRuleset(ctx *pulumi.Context, name string, args *RulesetArgs, opts ...pulumi.ResourceOption) (*Ruleset, error)
NewRuleset registers a new resource with the given unique name, arguments, and options.
func (*Ruleset) ElementType ¶
func (*Ruleset) ToRulesetOutput ¶
func (i *Ruleset) ToRulesetOutput() RulesetOutput
func (*Ruleset) ToRulesetOutputWithContext ¶
func (i *Ruleset) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
func (*Ruleset) ToRulesetPtrOutput ¶
func (i *Ruleset) ToRulesetPtrOutput() RulesetPtrOutput
func (*Ruleset) ToRulesetPtrOutputWithContext ¶
func (i *Ruleset) ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput
type RulesetArgs ¶
type RulesetArgs struct { // Name of the ruleset. Name pulumi.StringPtrInput // Reference to the team that owns the ruleset. If none is specified, only admins have access. Team RulesetTeamPtrInput }
The set of arguments for constructing a Ruleset resource.
func (RulesetArgs) ElementType ¶
func (RulesetArgs) ElementType() reflect.Type
type RulesetArray ¶
type RulesetArray []RulesetInput
func (RulesetArray) ElementType ¶
func (RulesetArray) ElementType() reflect.Type
func (RulesetArray) ToRulesetArrayOutput ¶
func (i RulesetArray) ToRulesetArrayOutput() RulesetArrayOutput
func (RulesetArray) ToRulesetArrayOutputWithContext ¶
func (i RulesetArray) ToRulesetArrayOutputWithContext(ctx context.Context) RulesetArrayOutput
type RulesetArrayInput ¶
type RulesetArrayInput interface { pulumi.Input ToRulesetArrayOutput() RulesetArrayOutput ToRulesetArrayOutputWithContext(context.Context) RulesetArrayOutput }
RulesetArrayInput is an input type that accepts RulesetArray and RulesetArrayOutput values. You can construct a concrete instance of `RulesetArrayInput` via:
RulesetArray{ RulesetArgs{...} }
type RulesetArrayOutput ¶
type RulesetArrayOutput struct{ *pulumi.OutputState }
func (RulesetArrayOutput) ElementType ¶
func (RulesetArrayOutput) ElementType() reflect.Type
func (RulesetArrayOutput) Index ¶
func (o RulesetArrayOutput) Index(i pulumi.IntInput) RulesetOutput
func (RulesetArrayOutput) ToRulesetArrayOutput ¶
func (o RulesetArrayOutput) ToRulesetArrayOutput() RulesetArrayOutput
func (RulesetArrayOutput) ToRulesetArrayOutputWithContext ¶
func (o RulesetArrayOutput) ToRulesetArrayOutputWithContext(ctx context.Context) RulesetArrayOutput
type RulesetInput ¶
type RulesetInput interface { pulumi.Input ToRulesetOutput() RulesetOutput ToRulesetOutputWithContext(ctx context.Context) RulesetOutput }
type RulesetMap ¶
type RulesetMap map[string]RulesetInput
func (RulesetMap) ElementType ¶
func (RulesetMap) ElementType() reflect.Type
func (RulesetMap) ToRulesetMapOutput ¶
func (i RulesetMap) ToRulesetMapOutput() RulesetMapOutput
func (RulesetMap) ToRulesetMapOutputWithContext ¶
func (i RulesetMap) ToRulesetMapOutputWithContext(ctx context.Context) RulesetMapOutput
type RulesetMapInput ¶
type RulesetMapInput interface { pulumi.Input ToRulesetMapOutput() RulesetMapOutput ToRulesetMapOutputWithContext(context.Context) RulesetMapOutput }
RulesetMapInput is an input type that accepts RulesetMap and RulesetMapOutput values. You can construct a concrete instance of `RulesetMapInput` via:
RulesetMap{ "key": RulesetArgs{...} }
type RulesetMapOutput ¶
type RulesetMapOutput struct{ *pulumi.OutputState }
func (RulesetMapOutput) ElementType ¶
func (RulesetMapOutput) ElementType() reflect.Type
func (RulesetMapOutput) MapIndex ¶
func (o RulesetMapOutput) MapIndex(k pulumi.StringInput) RulesetOutput
func (RulesetMapOutput) ToRulesetMapOutput ¶
func (o RulesetMapOutput) ToRulesetMapOutput() RulesetMapOutput
func (RulesetMapOutput) ToRulesetMapOutputWithContext ¶
func (o RulesetMapOutput) ToRulesetMapOutputWithContext(ctx context.Context) RulesetMapOutput
type RulesetOutput ¶
type RulesetOutput struct {
*pulumi.OutputState
}
func (RulesetOutput) ElementType ¶
func (RulesetOutput) ElementType() reflect.Type
func (RulesetOutput) ToRulesetOutput ¶
func (o RulesetOutput) ToRulesetOutput() RulesetOutput
func (RulesetOutput) ToRulesetOutputWithContext ¶
func (o RulesetOutput) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
func (RulesetOutput) ToRulesetPtrOutput ¶
func (o RulesetOutput) ToRulesetPtrOutput() RulesetPtrOutput
func (RulesetOutput) ToRulesetPtrOutputWithContext ¶
func (o RulesetOutput) ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput
type RulesetPtrInput ¶
type RulesetPtrInput interface { pulumi.Input ToRulesetPtrOutput() RulesetPtrOutput ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput }
type RulesetPtrOutput ¶
type RulesetPtrOutput struct {
*pulumi.OutputState
}
func (RulesetPtrOutput) ElementType ¶
func (RulesetPtrOutput) ElementType() reflect.Type
func (RulesetPtrOutput) ToRulesetPtrOutput ¶
func (o RulesetPtrOutput) ToRulesetPtrOutput() RulesetPtrOutput
func (RulesetPtrOutput) ToRulesetPtrOutputWithContext ¶
func (o RulesetPtrOutput) ToRulesetPtrOutputWithContext(ctx context.Context) RulesetPtrOutput
type RulesetRule ¶
type RulesetRule struct { pulumi.CustomResourceState // Actions to apply to an event if the conditions match. Actions RulesetRuleActionsPtrOutput `pulumi:"actions"` // Conditions evaluated to check if an event matches this event rule. Is always empty for the catch all rule, though. Conditions RulesetRuleConditionsPtrOutput `pulumi:"conditions"` // Indicates whether the rule is disabled and would therefore not be evaluated. Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Position/index of the rule within the ruleset. Position pulumi.IntPtrOutput `pulumi:"position"` // The ID of the ruleset that the rule belongs to. Ruleset pulumi.StringOutput `pulumi:"ruleset"` // Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules). TimeFrame RulesetRuleTimeFramePtrOutput `pulumi:"timeFrame"` // Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.* Variables RulesetRuleVariableArrayOutput `pulumi:"variables"` }
An [event rule](https://support.pagerduty.com/docs/rulesets#section-create-event-rules) allows you to set actions that should be taken on events that meet your designated rule criteria.
## Import
Ruleset rules can be imported using using the related `ruleset` ID and the `ruleset_rule` ID separated by a dot, e.g.
```sh
$ pulumi import pagerduty:index/rulesetRule:RulesetRule main a19cdca1-3d5e-4b52-bfea-8c8de04da243.19acac92-027a-4ea0-b06c-bbf516519601
```
func GetRulesetRule ¶
func GetRulesetRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RulesetRuleState, opts ...pulumi.ResourceOption) (*RulesetRule, error)
GetRulesetRule gets an existing RulesetRule 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 NewRulesetRule ¶
func NewRulesetRule(ctx *pulumi.Context, name string, args *RulesetRuleArgs, opts ...pulumi.ResourceOption) (*RulesetRule, error)
NewRulesetRule registers a new resource with the given unique name, arguments, and options.
func (*RulesetRule) ElementType ¶
func (*RulesetRule) ElementType() reflect.Type
func (*RulesetRule) ToRulesetRuleOutput ¶
func (i *RulesetRule) ToRulesetRuleOutput() RulesetRuleOutput
func (*RulesetRule) ToRulesetRuleOutputWithContext ¶
func (i *RulesetRule) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput
func (*RulesetRule) ToRulesetRulePtrOutput ¶
func (i *RulesetRule) ToRulesetRulePtrOutput() RulesetRulePtrOutput
func (*RulesetRule) ToRulesetRulePtrOutputWithContext ¶
func (i *RulesetRule) ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput
type RulesetRuleActions ¶
type RulesetRuleActions struct { // Note added to the event. Annotates []RulesetRuleActionsAnnotate `pulumi:"annotates"` // An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`. EventActions []RulesetRuleActionsEventAction `pulumi:"eventActions"` // Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures: Extractions []RulesetRuleActionsExtraction `pulumi:"extractions"` // The ID of the priority applied to the event. Priorities []RulesetRuleActionsPriority `pulumi:"priorities"` // The ID of the service where the event will be routed. Routes []RulesetRuleActionsRoute `pulumi:"routes"` // The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`. Severities []RulesetRuleActionsSeverity `pulumi:"severities"` // Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Note: If a threshold is set, the rule must also have a `route` action. Suppresses []RulesetRuleActionsSuppress `pulumi:"suppresses"` // An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a `suspend` action must also have a `route` action. Suspends []RulesetRuleActionsSuspend `pulumi:"suspends"` }
type RulesetRuleActionsAnnotate ¶
type RulesetRuleActionsAnnotate struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `pulumi:"value"` }
type RulesetRuleActionsAnnotateArgs ¶
type RulesetRuleActionsAnnotateArgs struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value pulumi.StringPtrInput `pulumi:"value"` }
func (RulesetRuleActionsAnnotateArgs) ElementType ¶
func (RulesetRuleActionsAnnotateArgs) ElementType() reflect.Type
func (RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutput ¶
func (i RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutput() RulesetRuleActionsAnnotateOutput
func (RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutputWithContext ¶
func (i RulesetRuleActionsAnnotateArgs) ToRulesetRuleActionsAnnotateOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateOutput
type RulesetRuleActionsAnnotateArray ¶
type RulesetRuleActionsAnnotateArray []RulesetRuleActionsAnnotateInput
func (RulesetRuleActionsAnnotateArray) ElementType ¶
func (RulesetRuleActionsAnnotateArray) ElementType() reflect.Type
func (RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutput ¶
func (i RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutput() RulesetRuleActionsAnnotateArrayOutput
func (RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutputWithContext ¶
func (i RulesetRuleActionsAnnotateArray) ToRulesetRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateArrayOutput
type RulesetRuleActionsAnnotateArrayInput ¶
type RulesetRuleActionsAnnotateArrayInput interface { pulumi.Input ToRulesetRuleActionsAnnotateArrayOutput() RulesetRuleActionsAnnotateArrayOutput ToRulesetRuleActionsAnnotateArrayOutputWithContext(context.Context) RulesetRuleActionsAnnotateArrayOutput }
RulesetRuleActionsAnnotateArrayInput is an input type that accepts RulesetRuleActionsAnnotateArray and RulesetRuleActionsAnnotateArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsAnnotateArrayInput` via:
RulesetRuleActionsAnnotateArray{ RulesetRuleActionsAnnotateArgs{...} }
type RulesetRuleActionsAnnotateArrayOutput ¶
type RulesetRuleActionsAnnotateArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsAnnotateArrayOutput) ElementType ¶
func (RulesetRuleActionsAnnotateArrayOutput) ElementType() reflect.Type
func (RulesetRuleActionsAnnotateArrayOutput) Index ¶
func (o RulesetRuleActionsAnnotateArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsAnnotateOutput
func (RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutput ¶
func (o RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutput() RulesetRuleActionsAnnotateArrayOutput
func (RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutputWithContext ¶
func (o RulesetRuleActionsAnnotateArrayOutput) ToRulesetRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateArrayOutput
type RulesetRuleActionsAnnotateInput ¶
type RulesetRuleActionsAnnotateInput interface { pulumi.Input ToRulesetRuleActionsAnnotateOutput() RulesetRuleActionsAnnotateOutput ToRulesetRuleActionsAnnotateOutputWithContext(context.Context) RulesetRuleActionsAnnotateOutput }
RulesetRuleActionsAnnotateInput is an input type that accepts RulesetRuleActionsAnnotateArgs and RulesetRuleActionsAnnotateOutput values. You can construct a concrete instance of `RulesetRuleActionsAnnotateInput` via:
RulesetRuleActionsAnnotateArgs{...}
type RulesetRuleActionsAnnotateOutput ¶
type RulesetRuleActionsAnnotateOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsAnnotateOutput) ElementType ¶
func (RulesetRuleActionsAnnotateOutput) ElementType() reflect.Type
func (RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutput ¶
func (o RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutput() RulesetRuleActionsAnnotateOutput
func (RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutputWithContext ¶
func (o RulesetRuleActionsAnnotateOutput) ToRulesetRuleActionsAnnotateOutputWithContext(ctx context.Context) RulesetRuleActionsAnnotateOutput
func (RulesetRuleActionsAnnotateOutput) Value ¶
func (o RulesetRuleActionsAnnotateOutput) Value() pulumi.StringPtrOutput
Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
type RulesetRuleActionsArgs ¶
type RulesetRuleActionsArgs struct { // Note added to the event. Annotates RulesetRuleActionsAnnotateArrayInput `pulumi:"annotates"` // An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`. EventActions RulesetRuleActionsEventActionArrayInput `pulumi:"eventActions"` // Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures: Extractions RulesetRuleActionsExtractionArrayInput `pulumi:"extractions"` // The ID of the priority applied to the event. Priorities RulesetRuleActionsPriorityArrayInput `pulumi:"priorities"` // The ID of the service where the event will be routed. Routes RulesetRuleActionsRouteArrayInput `pulumi:"routes"` // The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`. Severities RulesetRuleActionsSeverityArrayInput `pulumi:"severities"` // Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Note: If a threshold is set, the rule must also have a `route` action. Suppresses RulesetRuleActionsSuppressArrayInput `pulumi:"suppresses"` // An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a `suspend` action must also have a `route` action. Suspends RulesetRuleActionsSuspendArrayInput `pulumi:"suspends"` }
func (RulesetRuleActionsArgs) ElementType ¶
func (RulesetRuleActionsArgs) ElementType() reflect.Type
func (RulesetRuleActionsArgs) ToRulesetRuleActionsOutput ¶
func (i RulesetRuleActionsArgs) ToRulesetRuleActionsOutput() RulesetRuleActionsOutput
func (RulesetRuleActionsArgs) ToRulesetRuleActionsOutputWithContext ¶
func (i RulesetRuleActionsArgs) ToRulesetRuleActionsOutputWithContext(ctx context.Context) RulesetRuleActionsOutput
func (RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutput ¶
func (i RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput
func (RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutputWithContext ¶
func (i RulesetRuleActionsArgs) ToRulesetRuleActionsPtrOutputWithContext(ctx context.Context) RulesetRuleActionsPtrOutput
type RulesetRuleActionsEventAction ¶
type RulesetRuleActionsEventAction struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `pulumi:"value"` }
type RulesetRuleActionsEventActionArgs ¶
type RulesetRuleActionsEventActionArgs struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value pulumi.StringPtrInput `pulumi:"value"` }
func (RulesetRuleActionsEventActionArgs) ElementType ¶
func (RulesetRuleActionsEventActionArgs) ElementType() reflect.Type
func (RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutput ¶
func (i RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutput() RulesetRuleActionsEventActionOutput
func (RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutputWithContext ¶
func (i RulesetRuleActionsEventActionArgs) ToRulesetRuleActionsEventActionOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionOutput
type RulesetRuleActionsEventActionArray ¶
type RulesetRuleActionsEventActionArray []RulesetRuleActionsEventActionInput
func (RulesetRuleActionsEventActionArray) ElementType ¶
func (RulesetRuleActionsEventActionArray) ElementType() reflect.Type
func (RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutput ¶
func (i RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutput() RulesetRuleActionsEventActionArrayOutput
func (RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutputWithContext ¶
func (i RulesetRuleActionsEventActionArray) ToRulesetRuleActionsEventActionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionArrayOutput
type RulesetRuleActionsEventActionArrayInput ¶
type RulesetRuleActionsEventActionArrayInput interface { pulumi.Input ToRulesetRuleActionsEventActionArrayOutput() RulesetRuleActionsEventActionArrayOutput ToRulesetRuleActionsEventActionArrayOutputWithContext(context.Context) RulesetRuleActionsEventActionArrayOutput }
RulesetRuleActionsEventActionArrayInput is an input type that accepts RulesetRuleActionsEventActionArray and RulesetRuleActionsEventActionArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsEventActionArrayInput` via:
RulesetRuleActionsEventActionArray{ RulesetRuleActionsEventActionArgs{...} }
type RulesetRuleActionsEventActionArrayOutput ¶
type RulesetRuleActionsEventActionArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsEventActionArrayOutput) ElementType ¶
func (RulesetRuleActionsEventActionArrayOutput) ElementType() reflect.Type
func (RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutput ¶
func (o RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutput() RulesetRuleActionsEventActionArrayOutput
func (RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutputWithContext ¶
func (o RulesetRuleActionsEventActionArrayOutput) ToRulesetRuleActionsEventActionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionArrayOutput
type RulesetRuleActionsEventActionInput ¶
type RulesetRuleActionsEventActionInput interface { pulumi.Input ToRulesetRuleActionsEventActionOutput() RulesetRuleActionsEventActionOutput ToRulesetRuleActionsEventActionOutputWithContext(context.Context) RulesetRuleActionsEventActionOutput }
RulesetRuleActionsEventActionInput is an input type that accepts RulesetRuleActionsEventActionArgs and RulesetRuleActionsEventActionOutput values. You can construct a concrete instance of `RulesetRuleActionsEventActionInput` via:
RulesetRuleActionsEventActionArgs{...}
type RulesetRuleActionsEventActionOutput ¶
type RulesetRuleActionsEventActionOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsEventActionOutput) ElementType ¶
func (RulesetRuleActionsEventActionOutput) ElementType() reflect.Type
func (RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutput ¶
func (o RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutput() RulesetRuleActionsEventActionOutput
func (RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutputWithContext ¶
func (o RulesetRuleActionsEventActionOutput) ToRulesetRuleActionsEventActionOutputWithContext(ctx context.Context) RulesetRuleActionsEventActionOutput
func (RulesetRuleActionsEventActionOutput) Value ¶
func (o RulesetRuleActionsEventActionOutput) Value() pulumi.StringPtrOutput
Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
type RulesetRuleActionsExtraction ¶
type RulesetRuleActionsExtraction struct { // The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax). Regex *string `pulumi:"regex"` // Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Source *string `pulumi:"source"` // Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Target *string `pulumi:"target"` // A customized field message. This can also include variables extracted from the payload by using string interpolation. Template *string `pulumi:"template"` }
type RulesetRuleActionsExtractionArgs ¶
type RulesetRuleActionsExtractionArgs struct { // The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax). Regex pulumi.StringPtrInput `pulumi:"regex"` // Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Source pulumi.StringPtrInput `pulumi:"source"` // Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Target pulumi.StringPtrInput `pulumi:"target"` // A customized field message. This can also include variables extracted from the payload by using string interpolation. Template pulumi.StringPtrInput `pulumi:"template"` }
func (RulesetRuleActionsExtractionArgs) ElementType ¶
func (RulesetRuleActionsExtractionArgs) ElementType() reflect.Type
func (RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutput ¶
func (i RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutput() RulesetRuleActionsExtractionOutput
func (RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutputWithContext ¶
func (i RulesetRuleActionsExtractionArgs) ToRulesetRuleActionsExtractionOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionOutput
type RulesetRuleActionsExtractionArray ¶
type RulesetRuleActionsExtractionArray []RulesetRuleActionsExtractionInput
func (RulesetRuleActionsExtractionArray) ElementType ¶
func (RulesetRuleActionsExtractionArray) ElementType() reflect.Type
func (RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutput ¶
func (i RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutput() RulesetRuleActionsExtractionArrayOutput
func (RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutputWithContext ¶
func (i RulesetRuleActionsExtractionArray) ToRulesetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionArrayOutput
type RulesetRuleActionsExtractionArrayInput ¶
type RulesetRuleActionsExtractionArrayInput interface { pulumi.Input ToRulesetRuleActionsExtractionArrayOutput() RulesetRuleActionsExtractionArrayOutput ToRulesetRuleActionsExtractionArrayOutputWithContext(context.Context) RulesetRuleActionsExtractionArrayOutput }
RulesetRuleActionsExtractionArrayInput is an input type that accepts RulesetRuleActionsExtractionArray and RulesetRuleActionsExtractionArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsExtractionArrayInput` via:
RulesetRuleActionsExtractionArray{ RulesetRuleActionsExtractionArgs{...} }
type RulesetRuleActionsExtractionArrayOutput ¶
type RulesetRuleActionsExtractionArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsExtractionArrayOutput) ElementType ¶
func (RulesetRuleActionsExtractionArrayOutput) ElementType() reflect.Type
func (RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutput ¶
func (o RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutput() RulesetRuleActionsExtractionArrayOutput
func (RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutputWithContext ¶
func (o RulesetRuleActionsExtractionArrayOutput) ToRulesetRuleActionsExtractionArrayOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionArrayOutput
type RulesetRuleActionsExtractionInput ¶
type RulesetRuleActionsExtractionInput interface { pulumi.Input ToRulesetRuleActionsExtractionOutput() RulesetRuleActionsExtractionOutput ToRulesetRuleActionsExtractionOutputWithContext(context.Context) RulesetRuleActionsExtractionOutput }
RulesetRuleActionsExtractionInput is an input type that accepts RulesetRuleActionsExtractionArgs and RulesetRuleActionsExtractionOutput values. You can construct a concrete instance of `RulesetRuleActionsExtractionInput` via:
RulesetRuleActionsExtractionArgs{...}
type RulesetRuleActionsExtractionOutput ¶
type RulesetRuleActionsExtractionOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsExtractionOutput) ElementType ¶
func (RulesetRuleActionsExtractionOutput) ElementType() reflect.Type
func (RulesetRuleActionsExtractionOutput) Regex ¶
func (o RulesetRuleActionsExtractionOutput) Regex() pulumi.StringPtrOutput
The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax).
func (RulesetRuleActionsExtractionOutput) Source ¶
func (o RulesetRuleActionsExtractionOutput) Source() pulumi.StringPtrOutput
Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
func (RulesetRuleActionsExtractionOutput) Target ¶
func (o RulesetRuleActionsExtractionOutput) Target() pulumi.StringPtrOutput
Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
func (RulesetRuleActionsExtractionOutput) Template ¶
func (o RulesetRuleActionsExtractionOutput) Template() pulumi.StringPtrOutput
A customized field message. This can also include variables extracted from the payload by using string interpolation.
func (RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutput ¶
func (o RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutput() RulesetRuleActionsExtractionOutput
func (RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutputWithContext ¶
func (o RulesetRuleActionsExtractionOutput) ToRulesetRuleActionsExtractionOutputWithContext(ctx context.Context) RulesetRuleActionsExtractionOutput
type RulesetRuleActionsInput ¶
type RulesetRuleActionsInput interface { pulumi.Input ToRulesetRuleActionsOutput() RulesetRuleActionsOutput ToRulesetRuleActionsOutputWithContext(context.Context) RulesetRuleActionsOutput }
RulesetRuleActionsInput is an input type that accepts RulesetRuleActionsArgs and RulesetRuleActionsOutput values. You can construct a concrete instance of `RulesetRuleActionsInput` via:
RulesetRuleActionsArgs{...}
type RulesetRuleActionsOutput ¶
type RulesetRuleActionsOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsOutput) Annotates ¶
func (o RulesetRuleActionsOutput) Annotates() RulesetRuleActionsAnnotateArrayOutput
Note added to the event.
func (RulesetRuleActionsOutput) ElementType ¶
func (RulesetRuleActionsOutput) ElementType() reflect.Type
func (RulesetRuleActionsOutput) EventActions ¶
func (o RulesetRuleActionsOutput) EventActions() RulesetRuleActionsEventActionArrayOutput
An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.
func (RulesetRuleActionsOutput) Extractions ¶
func (o RulesetRuleActionsOutput) Extractions() RulesetRuleActionsExtractionArrayOutput
Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:
func (RulesetRuleActionsOutput) Priorities ¶
func (o RulesetRuleActionsOutput) Priorities() RulesetRuleActionsPriorityArrayOutput
The ID of the priority applied to the event.
func (RulesetRuleActionsOutput) Routes ¶
func (o RulesetRuleActionsOutput) Routes() RulesetRuleActionsRouteArrayOutput
The ID of the service where the event will be routed.
func (RulesetRuleActionsOutput) Severities ¶
func (o RulesetRuleActionsOutput) Severities() RulesetRuleActionsSeverityArrayOutput
The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`.
func (RulesetRuleActionsOutput) Suppresses ¶
func (o RulesetRuleActionsOutput) Suppresses() RulesetRuleActionsSuppressArrayOutput
Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Note: If a threshold is set, the rule must also have a `route` action.
func (RulesetRuleActionsOutput) Suspends ¶
func (o RulesetRuleActionsOutput) Suspends() RulesetRuleActionsSuspendArrayOutput
An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a `suspend` action must also have a `route` action.
func (RulesetRuleActionsOutput) ToRulesetRuleActionsOutput ¶
func (o RulesetRuleActionsOutput) ToRulesetRuleActionsOutput() RulesetRuleActionsOutput
func (RulesetRuleActionsOutput) ToRulesetRuleActionsOutputWithContext ¶
func (o RulesetRuleActionsOutput) ToRulesetRuleActionsOutputWithContext(ctx context.Context) RulesetRuleActionsOutput
func (RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutput ¶
func (o RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput
func (RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutputWithContext ¶
func (o RulesetRuleActionsOutput) ToRulesetRuleActionsPtrOutputWithContext(ctx context.Context) RulesetRuleActionsPtrOutput
type RulesetRuleActionsPriority ¶
type RulesetRuleActionsPriority struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `pulumi:"value"` }
type RulesetRuleActionsPriorityArgs ¶
type RulesetRuleActionsPriorityArgs struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value pulumi.StringPtrInput `pulumi:"value"` }
func (RulesetRuleActionsPriorityArgs) ElementType ¶
func (RulesetRuleActionsPriorityArgs) ElementType() reflect.Type
func (RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutput ¶
func (i RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutput() RulesetRuleActionsPriorityOutput
func (RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutputWithContext ¶
func (i RulesetRuleActionsPriorityArgs) ToRulesetRuleActionsPriorityOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityOutput
type RulesetRuleActionsPriorityArray ¶
type RulesetRuleActionsPriorityArray []RulesetRuleActionsPriorityInput
func (RulesetRuleActionsPriorityArray) ElementType ¶
func (RulesetRuleActionsPriorityArray) ElementType() reflect.Type
func (RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutput ¶
func (i RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutput() RulesetRuleActionsPriorityArrayOutput
func (RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutputWithContext ¶
func (i RulesetRuleActionsPriorityArray) ToRulesetRuleActionsPriorityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityArrayOutput
type RulesetRuleActionsPriorityArrayInput ¶
type RulesetRuleActionsPriorityArrayInput interface { pulumi.Input ToRulesetRuleActionsPriorityArrayOutput() RulesetRuleActionsPriorityArrayOutput ToRulesetRuleActionsPriorityArrayOutputWithContext(context.Context) RulesetRuleActionsPriorityArrayOutput }
RulesetRuleActionsPriorityArrayInput is an input type that accepts RulesetRuleActionsPriorityArray and RulesetRuleActionsPriorityArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsPriorityArrayInput` via:
RulesetRuleActionsPriorityArray{ RulesetRuleActionsPriorityArgs{...} }
type RulesetRuleActionsPriorityArrayOutput ¶
type RulesetRuleActionsPriorityArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsPriorityArrayOutput) ElementType ¶
func (RulesetRuleActionsPriorityArrayOutput) ElementType() reflect.Type
func (RulesetRuleActionsPriorityArrayOutput) Index ¶
func (o RulesetRuleActionsPriorityArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsPriorityOutput
func (RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutput ¶
func (o RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutput() RulesetRuleActionsPriorityArrayOutput
func (RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutputWithContext ¶
func (o RulesetRuleActionsPriorityArrayOutput) ToRulesetRuleActionsPriorityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityArrayOutput
type RulesetRuleActionsPriorityInput ¶
type RulesetRuleActionsPriorityInput interface { pulumi.Input ToRulesetRuleActionsPriorityOutput() RulesetRuleActionsPriorityOutput ToRulesetRuleActionsPriorityOutputWithContext(context.Context) RulesetRuleActionsPriorityOutput }
RulesetRuleActionsPriorityInput is an input type that accepts RulesetRuleActionsPriorityArgs and RulesetRuleActionsPriorityOutput values. You can construct a concrete instance of `RulesetRuleActionsPriorityInput` via:
RulesetRuleActionsPriorityArgs{...}
type RulesetRuleActionsPriorityOutput ¶
type RulesetRuleActionsPriorityOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsPriorityOutput) ElementType ¶
func (RulesetRuleActionsPriorityOutput) ElementType() reflect.Type
func (RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutput ¶
func (o RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutput() RulesetRuleActionsPriorityOutput
func (RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutputWithContext ¶
func (o RulesetRuleActionsPriorityOutput) ToRulesetRuleActionsPriorityOutputWithContext(ctx context.Context) RulesetRuleActionsPriorityOutput
func (RulesetRuleActionsPriorityOutput) Value ¶
func (o RulesetRuleActionsPriorityOutput) Value() pulumi.StringPtrOutput
Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
type RulesetRuleActionsPtrInput ¶
type RulesetRuleActionsPtrInput interface { pulumi.Input ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput ToRulesetRuleActionsPtrOutputWithContext(context.Context) RulesetRuleActionsPtrOutput }
RulesetRuleActionsPtrInput is an input type that accepts RulesetRuleActionsArgs, RulesetRuleActionsPtr and RulesetRuleActionsPtrOutput values. You can construct a concrete instance of `RulesetRuleActionsPtrInput` via:
RulesetRuleActionsArgs{...} or: nil
func RulesetRuleActionsPtr ¶
func RulesetRuleActionsPtr(v *RulesetRuleActionsArgs) RulesetRuleActionsPtrInput
type RulesetRuleActionsPtrOutput ¶
type RulesetRuleActionsPtrOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsPtrOutput) Annotates ¶
func (o RulesetRuleActionsPtrOutput) Annotates() RulesetRuleActionsAnnotateArrayOutput
Note added to the event.
func (RulesetRuleActionsPtrOutput) Elem ¶
func (o RulesetRuleActionsPtrOutput) Elem() RulesetRuleActionsOutput
func (RulesetRuleActionsPtrOutput) ElementType ¶
func (RulesetRuleActionsPtrOutput) ElementType() reflect.Type
func (RulesetRuleActionsPtrOutput) EventActions ¶
func (o RulesetRuleActionsPtrOutput) EventActions() RulesetRuleActionsEventActionArrayOutput
An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.
func (RulesetRuleActionsPtrOutput) Extractions ¶
func (o RulesetRuleActionsPtrOutput) Extractions() RulesetRuleActionsExtractionArrayOutput
Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:
func (RulesetRuleActionsPtrOutput) Priorities ¶
func (o RulesetRuleActionsPtrOutput) Priorities() RulesetRuleActionsPriorityArrayOutput
The ID of the priority applied to the event.
func (RulesetRuleActionsPtrOutput) Routes ¶
func (o RulesetRuleActionsPtrOutput) Routes() RulesetRuleActionsRouteArrayOutput
The ID of the service where the event will be routed.
func (RulesetRuleActionsPtrOutput) Severities ¶
func (o RulesetRuleActionsPtrOutput) Severities() RulesetRuleActionsSeverityArrayOutput
The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`.
func (RulesetRuleActionsPtrOutput) Suppresses ¶
func (o RulesetRuleActionsPtrOutput) Suppresses() RulesetRuleActionsSuppressArrayOutput
Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Note: If a threshold is set, the rule must also have a `route` action.
func (RulesetRuleActionsPtrOutput) Suspends ¶
func (o RulesetRuleActionsPtrOutput) Suspends() RulesetRuleActionsSuspendArrayOutput
An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a `suspend` action must also have a `route` action.
func (RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutput ¶
func (o RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutput() RulesetRuleActionsPtrOutput
func (RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutputWithContext ¶
func (o RulesetRuleActionsPtrOutput) ToRulesetRuleActionsPtrOutputWithContext(ctx context.Context) RulesetRuleActionsPtrOutput
type RulesetRuleActionsRoute ¶
type RulesetRuleActionsRoute struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `pulumi:"value"` }
type RulesetRuleActionsRouteArgs ¶
type RulesetRuleActionsRouteArgs struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value pulumi.StringPtrInput `pulumi:"value"` }
func (RulesetRuleActionsRouteArgs) ElementType ¶
func (RulesetRuleActionsRouteArgs) ElementType() reflect.Type
func (RulesetRuleActionsRouteArgs) ToRulesetRuleActionsRouteOutput ¶
func (i RulesetRuleActionsRouteArgs) ToRulesetRuleActionsRouteOutput() RulesetRuleActionsRouteOutput
func (RulesetRuleActionsRouteArgs) ToRulesetRuleActionsRouteOutputWithContext ¶
func (i RulesetRuleActionsRouteArgs) ToRulesetRuleActionsRouteOutputWithContext(ctx context.Context) RulesetRuleActionsRouteOutput
type RulesetRuleActionsRouteArray ¶
type RulesetRuleActionsRouteArray []RulesetRuleActionsRouteInput
func (RulesetRuleActionsRouteArray) ElementType ¶
func (RulesetRuleActionsRouteArray) ElementType() reflect.Type
func (RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutput ¶
func (i RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutput() RulesetRuleActionsRouteArrayOutput
func (RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutputWithContext ¶
func (i RulesetRuleActionsRouteArray) ToRulesetRuleActionsRouteArrayOutputWithContext(ctx context.Context) RulesetRuleActionsRouteArrayOutput
type RulesetRuleActionsRouteArrayInput ¶
type RulesetRuleActionsRouteArrayInput interface { pulumi.Input ToRulesetRuleActionsRouteArrayOutput() RulesetRuleActionsRouteArrayOutput ToRulesetRuleActionsRouteArrayOutputWithContext(context.Context) RulesetRuleActionsRouteArrayOutput }
RulesetRuleActionsRouteArrayInput is an input type that accepts RulesetRuleActionsRouteArray and RulesetRuleActionsRouteArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsRouteArrayInput` via:
RulesetRuleActionsRouteArray{ RulesetRuleActionsRouteArgs{...} }
type RulesetRuleActionsRouteArrayOutput ¶
type RulesetRuleActionsRouteArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsRouteArrayOutput) ElementType ¶
func (RulesetRuleActionsRouteArrayOutput) ElementType() reflect.Type
func (RulesetRuleActionsRouteArrayOutput) Index ¶
func (o RulesetRuleActionsRouteArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsRouteOutput
func (RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutput ¶
func (o RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutput() RulesetRuleActionsRouteArrayOutput
func (RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutputWithContext ¶
func (o RulesetRuleActionsRouteArrayOutput) ToRulesetRuleActionsRouteArrayOutputWithContext(ctx context.Context) RulesetRuleActionsRouteArrayOutput
type RulesetRuleActionsRouteInput ¶
type RulesetRuleActionsRouteInput interface { pulumi.Input ToRulesetRuleActionsRouteOutput() RulesetRuleActionsRouteOutput ToRulesetRuleActionsRouteOutputWithContext(context.Context) RulesetRuleActionsRouteOutput }
RulesetRuleActionsRouteInput is an input type that accepts RulesetRuleActionsRouteArgs and RulesetRuleActionsRouteOutput values. You can construct a concrete instance of `RulesetRuleActionsRouteInput` via:
RulesetRuleActionsRouteArgs{...}
type RulesetRuleActionsRouteOutput ¶
type RulesetRuleActionsRouteOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsRouteOutput) ElementType ¶
func (RulesetRuleActionsRouteOutput) ElementType() reflect.Type
func (RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutput ¶
func (o RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutput() RulesetRuleActionsRouteOutput
func (RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutputWithContext ¶
func (o RulesetRuleActionsRouteOutput) ToRulesetRuleActionsRouteOutputWithContext(ctx context.Context) RulesetRuleActionsRouteOutput
func (RulesetRuleActionsRouteOutput) Value ¶
func (o RulesetRuleActionsRouteOutput) Value() pulumi.StringPtrOutput
Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
type RulesetRuleActionsSeverity ¶
type RulesetRuleActionsSeverity struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `pulumi:"value"` }
type RulesetRuleActionsSeverityArgs ¶
type RulesetRuleActionsSeverityArgs struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value pulumi.StringPtrInput `pulumi:"value"` }
func (RulesetRuleActionsSeverityArgs) ElementType ¶
func (RulesetRuleActionsSeverityArgs) ElementType() reflect.Type
func (RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutput ¶
func (i RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutput() RulesetRuleActionsSeverityOutput
func (RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutputWithContext ¶
func (i RulesetRuleActionsSeverityArgs) ToRulesetRuleActionsSeverityOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityOutput
type RulesetRuleActionsSeverityArray ¶
type RulesetRuleActionsSeverityArray []RulesetRuleActionsSeverityInput
func (RulesetRuleActionsSeverityArray) ElementType ¶
func (RulesetRuleActionsSeverityArray) ElementType() reflect.Type
func (RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutput ¶
func (i RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutput() RulesetRuleActionsSeverityArrayOutput
func (RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutputWithContext ¶
func (i RulesetRuleActionsSeverityArray) ToRulesetRuleActionsSeverityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityArrayOutput
type RulesetRuleActionsSeverityArrayInput ¶
type RulesetRuleActionsSeverityArrayInput interface { pulumi.Input ToRulesetRuleActionsSeverityArrayOutput() RulesetRuleActionsSeverityArrayOutput ToRulesetRuleActionsSeverityArrayOutputWithContext(context.Context) RulesetRuleActionsSeverityArrayOutput }
RulesetRuleActionsSeverityArrayInput is an input type that accepts RulesetRuleActionsSeverityArray and RulesetRuleActionsSeverityArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsSeverityArrayInput` via:
RulesetRuleActionsSeverityArray{ RulesetRuleActionsSeverityArgs{...} }
type RulesetRuleActionsSeverityArrayOutput ¶
type RulesetRuleActionsSeverityArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsSeverityArrayOutput) ElementType ¶
func (RulesetRuleActionsSeverityArrayOutput) ElementType() reflect.Type
func (RulesetRuleActionsSeverityArrayOutput) Index ¶
func (o RulesetRuleActionsSeverityArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsSeverityOutput
func (RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutput ¶
func (o RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutput() RulesetRuleActionsSeverityArrayOutput
func (RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutputWithContext ¶
func (o RulesetRuleActionsSeverityArrayOutput) ToRulesetRuleActionsSeverityArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityArrayOutput
type RulesetRuleActionsSeverityInput ¶
type RulesetRuleActionsSeverityInput interface { pulumi.Input ToRulesetRuleActionsSeverityOutput() RulesetRuleActionsSeverityOutput ToRulesetRuleActionsSeverityOutputWithContext(context.Context) RulesetRuleActionsSeverityOutput }
RulesetRuleActionsSeverityInput is an input type that accepts RulesetRuleActionsSeverityArgs and RulesetRuleActionsSeverityOutput values. You can construct a concrete instance of `RulesetRuleActionsSeverityInput` via:
RulesetRuleActionsSeverityArgs{...}
type RulesetRuleActionsSeverityOutput ¶
type RulesetRuleActionsSeverityOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsSeverityOutput) ElementType ¶
func (RulesetRuleActionsSeverityOutput) ElementType() reflect.Type
func (RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutput ¶
func (o RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutput() RulesetRuleActionsSeverityOutput
func (RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutputWithContext ¶
func (o RulesetRuleActionsSeverityOutput) ToRulesetRuleActionsSeverityOutputWithContext(ctx context.Context) RulesetRuleActionsSeverityOutput
func (RulesetRuleActionsSeverityOutput) Value ¶
func (o RulesetRuleActionsSeverityOutput) Value() pulumi.StringPtrOutput
Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
type RulesetRuleActionsSuppress ¶
type RulesetRuleActionsSuppress struct { // The number value of the `thresholdTimeUnit` before an incident is created. Must be greater than 0. ThresholdTimeAmount *int `pulumi:"thresholdTimeAmount"` // The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured. ThresholdTimeUnit *string `pulumi:"thresholdTimeUnit"` // The number of alerts that should be suppressed. Must be greater than 0. ThresholdValue *int `pulumi:"thresholdValue"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *bool `pulumi:"value"` }
type RulesetRuleActionsSuppressArgs ¶
type RulesetRuleActionsSuppressArgs struct { // The number value of the `thresholdTimeUnit` before an incident is created. Must be greater than 0. ThresholdTimeAmount pulumi.IntPtrInput `pulumi:"thresholdTimeAmount"` // The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured. ThresholdTimeUnit pulumi.StringPtrInput `pulumi:"thresholdTimeUnit"` // The number of alerts that should be suppressed. Must be greater than 0. ThresholdValue pulumi.IntPtrInput `pulumi:"thresholdValue"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value pulumi.BoolPtrInput `pulumi:"value"` }
func (RulesetRuleActionsSuppressArgs) ElementType ¶
func (RulesetRuleActionsSuppressArgs) ElementType() reflect.Type
func (RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutput ¶
func (i RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutput() RulesetRuleActionsSuppressOutput
func (RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutputWithContext ¶
func (i RulesetRuleActionsSuppressArgs) ToRulesetRuleActionsSuppressOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressOutput
type RulesetRuleActionsSuppressArray ¶
type RulesetRuleActionsSuppressArray []RulesetRuleActionsSuppressInput
func (RulesetRuleActionsSuppressArray) ElementType ¶
func (RulesetRuleActionsSuppressArray) ElementType() reflect.Type
func (RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutput ¶
func (i RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutput() RulesetRuleActionsSuppressArrayOutput
func (RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutputWithContext ¶
func (i RulesetRuleActionsSuppressArray) ToRulesetRuleActionsSuppressArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressArrayOutput
type RulesetRuleActionsSuppressArrayInput ¶
type RulesetRuleActionsSuppressArrayInput interface { pulumi.Input ToRulesetRuleActionsSuppressArrayOutput() RulesetRuleActionsSuppressArrayOutput ToRulesetRuleActionsSuppressArrayOutputWithContext(context.Context) RulesetRuleActionsSuppressArrayOutput }
RulesetRuleActionsSuppressArrayInput is an input type that accepts RulesetRuleActionsSuppressArray and RulesetRuleActionsSuppressArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsSuppressArrayInput` via:
RulesetRuleActionsSuppressArray{ RulesetRuleActionsSuppressArgs{...} }
type RulesetRuleActionsSuppressArrayOutput ¶
type RulesetRuleActionsSuppressArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsSuppressArrayOutput) ElementType ¶
func (RulesetRuleActionsSuppressArrayOutput) ElementType() reflect.Type
func (RulesetRuleActionsSuppressArrayOutput) Index ¶
func (o RulesetRuleActionsSuppressArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsSuppressOutput
func (RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutput ¶
func (o RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutput() RulesetRuleActionsSuppressArrayOutput
func (RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutputWithContext ¶
func (o RulesetRuleActionsSuppressArrayOutput) ToRulesetRuleActionsSuppressArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressArrayOutput
type RulesetRuleActionsSuppressInput ¶
type RulesetRuleActionsSuppressInput interface { pulumi.Input ToRulesetRuleActionsSuppressOutput() RulesetRuleActionsSuppressOutput ToRulesetRuleActionsSuppressOutputWithContext(context.Context) RulesetRuleActionsSuppressOutput }
RulesetRuleActionsSuppressInput is an input type that accepts RulesetRuleActionsSuppressArgs and RulesetRuleActionsSuppressOutput values. You can construct a concrete instance of `RulesetRuleActionsSuppressInput` via:
RulesetRuleActionsSuppressArgs{...}
type RulesetRuleActionsSuppressOutput ¶
type RulesetRuleActionsSuppressOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsSuppressOutput) ElementType ¶
func (RulesetRuleActionsSuppressOutput) ElementType() reflect.Type
func (RulesetRuleActionsSuppressOutput) ThresholdTimeAmount ¶
func (o RulesetRuleActionsSuppressOutput) ThresholdTimeAmount() pulumi.IntPtrOutput
The number value of the `thresholdTimeUnit` before an incident is created. Must be greater than 0.
func (RulesetRuleActionsSuppressOutput) ThresholdTimeUnit ¶
func (o RulesetRuleActionsSuppressOutput) ThresholdTimeUnit() pulumi.StringPtrOutput
The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured.
func (RulesetRuleActionsSuppressOutput) ThresholdValue ¶
func (o RulesetRuleActionsSuppressOutput) ThresholdValue() pulumi.IntPtrOutput
The number of alerts that should be suppressed. Must be greater than 0.
func (RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutput ¶
func (o RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutput() RulesetRuleActionsSuppressOutput
func (RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutputWithContext ¶
func (o RulesetRuleActionsSuppressOutput) ToRulesetRuleActionsSuppressOutputWithContext(ctx context.Context) RulesetRuleActionsSuppressOutput
func (RulesetRuleActionsSuppressOutput) Value ¶
func (o RulesetRuleActionsSuppressOutput) Value() pulumi.BoolPtrOutput
Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
type RulesetRuleActionsSuspend ¶
type RulesetRuleActionsSuspend struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *int `pulumi:"value"` }
type RulesetRuleActionsSuspendArgs ¶
type RulesetRuleActionsSuspendArgs struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value pulumi.IntPtrInput `pulumi:"value"` }
func (RulesetRuleActionsSuspendArgs) ElementType ¶
func (RulesetRuleActionsSuspendArgs) ElementType() reflect.Type
func (RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutput ¶
func (i RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput
func (RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutputWithContext ¶
func (i RulesetRuleActionsSuspendArgs) ToRulesetRuleActionsSuspendOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendOutput
type RulesetRuleActionsSuspendArray ¶
type RulesetRuleActionsSuspendArray []RulesetRuleActionsSuspendInput
func (RulesetRuleActionsSuspendArray) ElementType ¶
func (RulesetRuleActionsSuspendArray) ElementType() reflect.Type
func (RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutput ¶
func (i RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput
func (RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutputWithContext ¶
func (i RulesetRuleActionsSuspendArray) ToRulesetRuleActionsSuspendArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendArrayOutput
type RulesetRuleActionsSuspendArrayInput ¶
type RulesetRuleActionsSuspendArrayInput interface { pulumi.Input ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput ToRulesetRuleActionsSuspendArrayOutputWithContext(context.Context) RulesetRuleActionsSuspendArrayOutput }
RulesetRuleActionsSuspendArrayInput is an input type that accepts RulesetRuleActionsSuspendArray and RulesetRuleActionsSuspendArrayOutput values. You can construct a concrete instance of `RulesetRuleActionsSuspendArrayInput` via:
RulesetRuleActionsSuspendArray{ RulesetRuleActionsSuspendArgs{...} }
type RulesetRuleActionsSuspendArrayOutput ¶
type RulesetRuleActionsSuspendArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsSuspendArrayOutput) ElementType ¶
func (RulesetRuleActionsSuspendArrayOutput) ElementType() reflect.Type
func (RulesetRuleActionsSuspendArrayOutput) Index ¶
func (o RulesetRuleActionsSuspendArrayOutput) Index(i pulumi.IntInput) RulesetRuleActionsSuspendOutput
func (RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutput ¶
func (o RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutput() RulesetRuleActionsSuspendArrayOutput
func (RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutputWithContext ¶
func (o RulesetRuleActionsSuspendArrayOutput) ToRulesetRuleActionsSuspendArrayOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendArrayOutput
type RulesetRuleActionsSuspendInput ¶
type RulesetRuleActionsSuspendInput interface { pulumi.Input ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput ToRulesetRuleActionsSuspendOutputWithContext(context.Context) RulesetRuleActionsSuspendOutput }
RulesetRuleActionsSuspendInput is an input type that accepts RulesetRuleActionsSuspendArgs and RulesetRuleActionsSuspendOutput values. You can construct a concrete instance of `RulesetRuleActionsSuspendInput` via:
RulesetRuleActionsSuspendArgs{...}
type RulesetRuleActionsSuspendOutput ¶
type RulesetRuleActionsSuspendOutput struct{ *pulumi.OutputState }
func (RulesetRuleActionsSuspendOutput) ElementType ¶
func (RulesetRuleActionsSuspendOutput) ElementType() reflect.Type
func (RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutput ¶
func (o RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutput() RulesetRuleActionsSuspendOutput
func (RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutputWithContext ¶
func (o RulesetRuleActionsSuspendOutput) ToRulesetRuleActionsSuspendOutputWithContext(ctx context.Context) RulesetRuleActionsSuspendOutput
func (RulesetRuleActionsSuspendOutput) Value ¶
func (o RulesetRuleActionsSuspendOutput) Value() pulumi.IntPtrOutput
Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
type RulesetRuleArgs ¶
type RulesetRuleArgs struct { // Actions to apply to an event if the conditions match. Actions RulesetRuleActionsPtrInput // Conditions evaluated to check if an event matches this event rule. Is always empty for the catch all rule, though. Conditions RulesetRuleConditionsPtrInput // Indicates whether the rule is disabled and would therefore not be evaluated. Disabled pulumi.BoolPtrInput // Position/index of the rule within the ruleset. Position pulumi.IntPtrInput // The ID of the ruleset that the rule belongs to. Ruleset pulumi.StringInput // Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules). TimeFrame RulesetRuleTimeFramePtrInput // Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.* Variables RulesetRuleVariableArrayInput }
The set of arguments for constructing a RulesetRule resource.
func (RulesetRuleArgs) ElementType ¶
func (RulesetRuleArgs) ElementType() reflect.Type
type RulesetRuleArray ¶
type RulesetRuleArray []RulesetRuleInput
func (RulesetRuleArray) ElementType ¶
func (RulesetRuleArray) ElementType() reflect.Type
func (RulesetRuleArray) ToRulesetRuleArrayOutput ¶
func (i RulesetRuleArray) ToRulesetRuleArrayOutput() RulesetRuleArrayOutput
func (RulesetRuleArray) ToRulesetRuleArrayOutputWithContext ¶
func (i RulesetRuleArray) ToRulesetRuleArrayOutputWithContext(ctx context.Context) RulesetRuleArrayOutput
type RulesetRuleArrayInput ¶
type RulesetRuleArrayInput interface { pulumi.Input ToRulesetRuleArrayOutput() RulesetRuleArrayOutput ToRulesetRuleArrayOutputWithContext(context.Context) RulesetRuleArrayOutput }
RulesetRuleArrayInput is an input type that accepts RulesetRuleArray and RulesetRuleArrayOutput values. You can construct a concrete instance of `RulesetRuleArrayInput` via:
RulesetRuleArray{ RulesetRuleArgs{...} }
type RulesetRuleArrayOutput ¶
type RulesetRuleArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleArrayOutput) ElementType ¶
func (RulesetRuleArrayOutput) ElementType() reflect.Type
func (RulesetRuleArrayOutput) Index ¶
func (o RulesetRuleArrayOutput) Index(i pulumi.IntInput) RulesetRuleOutput
func (RulesetRuleArrayOutput) ToRulesetRuleArrayOutput ¶
func (o RulesetRuleArrayOutput) ToRulesetRuleArrayOutput() RulesetRuleArrayOutput
func (RulesetRuleArrayOutput) ToRulesetRuleArrayOutputWithContext ¶
func (o RulesetRuleArrayOutput) ToRulesetRuleArrayOutputWithContext(ctx context.Context) RulesetRuleArrayOutput
type RulesetRuleConditions ¶
type RulesetRuleConditions struct { // Operator to combine sub-conditions. Can be `and` or `or`. Operator *string `pulumi:"operator"` // List of sub-conditions that define the the condition. Subconditions []RulesetRuleConditionsSubcondition `pulumi:"subconditions"` }
type RulesetRuleConditionsArgs ¶
type RulesetRuleConditionsArgs struct { // Operator to combine sub-conditions. Can be `and` or `or`. Operator pulumi.StringPtrInput `pulumi:"operator"` // List of sub-conditions that define the the condition. Subconditions RulesetRuleConditionsSubconditionArrayInput `pulumi:"subconditions"` }
func (RulesetRuleConditionsArgs) ElementType ¶
func (RulesetRuleConditionsArgs) ElementType() reflect.Type
func (RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutput ¶
func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutput() RulesetRuleConditionsOutput
func (RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutputWithContext ¶
func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsOutputWithContext(ctx context.Context) RulesetRuleConditionsOutput
func (RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutput ¶
func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput
func (RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutputWithContext ¶
func (i RulesetRuleConditionsArgs) ToRulesetRuleConditionsPtrOutputWithContext(ctx context.Context) RulesetRuleConditionsPtrOutput
type RulesetRuleConditionsInput ¶
type RulesetRuleConditionsInput interface { pulumi.Input ToRulesetRuleConditionsOutput() RulesetRuleConditionsOutput ToRulesetRuleConditionsOutputWithContext(context.Context) RulesetRuleConditionsOutput }
RulesetRuleConditionsInput is an input type that accepts RulesetRuleConditionsArgs and RulesetRuleConditionsOutput values. You can construct a concrete instance of `RulesetRuleConditionsInput` via:
RulesetRuleConditionsArgs{...}
type RulesetRuleConditionsOutput ¶
type RulesetRuleConditionsOutput struct{ *pulumi.OutputState }
func (RulesetRuleConditionsOutput) ElementType ¶
func (RulesetRuleConditionsOutput) ElementType() reflect.Type
func (RulesetRuleConditionsOutput) Operator ¶
func (o RulesetRuleConditionsOutput) Operator() pulumi.StringPtrOutput
Operator to combine sub-conditions. Can be `and` or `or`.
func (RulesetRuleConditionsOutput) Subconditions ¶
func (o RulesetRuleConditionsOutput) Subconditions() RulesetRuleConditionsSubconditionArrayOutput
List of sub-conditions that define the the condition.
func (RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutput ¶
func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutput() RulesetRuleConditionsOutput
func (RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutputWithContext ¶
func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsOutputWithContext(ctx context.Context) RulesetRuleConditionsOutput
func (RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutput ¶
func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput
func (RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutputWithContext ¶
func (o RulesetRuleConditionsOutput) ToRulesetRuleConditionsPtrOutputWithContext(ctx context.Context) RulesetRuleConditionsPtrOutput
type RulesetRuleConditionsPtrInput ¶
type RulesetRuleConditionsPtrInput interface { pulumi.Input ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput ToRulesetRuleConditionsPtrOutputWithContext(context.Context) RulesetRuleConditionsPtrOutput }
RulesetRuleConditionsPtrInput is an input type that accepts RulesetRuleConditionsArgs, RulesetRuleConditionsPtr and RulesetRuleConditionsPtrOutput values. You can construct a concrete instance of `RulesetRuleConditionsPtrInput` via:
RulesetRuleConditionsArgs{...} or: nil
func RulesetRuleConditionsPtr ¶
func RulesetRuleConditionsPtr(v *RulesetRuleConditionsArgs) RulesetRuleConditionsPtrInput
type RulesetRuleConditionsPtrOutput ¶
type RulesetRuleConditionsPtrOutput struct{ *pulumi.OutputState }
func (RulesetRuleConditionsPtrOutput) Elem ¶
func (o RulesetRuleConditionsPtrOutput) Elem() RulesetRuleConditionsOutput
func (RulesetRuleConditionsPtrOutput) ElementType ¶
func (RulesetRuleConditionsPtrOutput) ElementType() reflect.Type
func (RulesetRuleConditionsPtrOutput) Operator ¶
func (o RulesetRuleConditionsPtrOutput) Operator() pulumi.StringPtrOutput
Operator to combine sub-conditions. Can be `and` or `or`.
func (RulesetRuleConditionsPtrOutput) Subconditions ¶
func (o RulesetRuleConditionsPtrOutput) Subconditions() RulesetRuleConditionsSubconditionArrayOutput
List of sub-conditions that define the the condition.
func (RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutput ¶
func (o RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutput() RulesetRuleConditionsPtrOutput
func (RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutputWithContext ¶
func (o RulesetRuleConditionsPtrOutput) ToRulesetRuleConditionsPtrOutputWithContext(ctx context.Context) RulesetRuleConditionsPtrOutput
type RulesetRuleConditionsSubcondition ¶
type RulesetRuleConditionsSubcondition struct { // Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`. Operator *string `pulumi:"operator"` // Parameter for the sub-condition. It requires both a `path` and `value` to be set. Parameters []RulesetRuleConditionsSubconditionParameter `pulumi:"parameters"` }
type RulesetRuleConditionsSubconditionArgs ¶
type RulesetRuleConditionsSubconditionArgs struct { // Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`. Operator pulumi.StringPtrInput `pulumi:"operator"` // Parameter for the sub-condition. It requires both a `path` and `value` to be set. Parameters RulesetRuleConditionsSubconditionParameterArrayInput `pulumi:"parameters"` }
func (RulesetRuleConditionsSubconditionArgs) ElementType ¶
func (RulesetRuleConditionsSubconditionArgs) ElementType() reflect.Type
func (RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutput ¶
func (i RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutput() RulesetRuleConditionsSubconditionOutput
func (RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutputWithContext ¶
func (i RulesetRuleConditionsSubconditionArgs) ToRulesetRuleConditionsSubconditionOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionOutput
type RulesetRuleConditionsSubconditionArray ¶
type RulesetRuleConditionsSubconditionArray []RulesetRuleConditionsSubconditionInput
func (RulesetRuleConditionsSubconditionArray) ElementType ¶
func (RulesetRuleConditionsSubconditionArray) ElementType() reflect.Type
func (RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutput ¶
func (i RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutput() RulesetRuleConditionsSubconditionArrayOutput
func (RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutputWithContext ¶
func (i RulesetRuleConditionsSubconditionArray) ToRulesetRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionArrayOutput
type RulesetRuleConditionsSubconditionArrayInput ¶
type RulesetRuleConditionsSubconditionArrayInput interface { pulumi.Input ToRulesetRuleConditionsSubconditionArrayOutput() RulesetRuleConditionsSubconditionArrayOutput ToRulesetRuleConditionsSubconditionArrayOutputWithContext(context.Context) RulesetRuleConditionsSubconditionArrayOutput }
RulesetRuleConditionsSubconditionArrayInput is an input type that accepts RulesetRuleConditionsSubconditionArray and RulesetRuleConditionsSubconditionArrayOutput values. You can construct a concrete instance of `RulesetRuleConditionsSubconditionArrayInput` via:
RulesetRuleConditionsSubconditionArray{ RulesetRuleConditionsSubconditionArgs{...} }
type RulesetRuleConditionsSubconditionArrayOutput ¶
type RulesetRuleConditionsSubconditionArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleConditionsSubconditionArrayOutput) ElementType ¶
func (RulesetRuleConditionsSubconditionArrayOutput) ElementType() reflect.Type
func (RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutput ¶
func (o RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutput() RulesetRuleConditionsSubconditionArrayOutput
func (RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutputWithContext ¶
func (o RulesetRuleConditionsSubconditionArrayOutput) ToRulesetRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionArrayOutput
type RulesetRuleConditionsSubconditionInput ¶
type RulesetRuleConditionsSubconditionInput interface { pulumi.Input ToRulesetRuleConditionsSubconditionOutput() RulesetRuleConditionsSubconditionOutput ToRulesetRuleConditionsSubconditionOutputWithContext(context.Context) RulesetRuleConditionsSubconditionOutput }
RulesetRuleConditionsSubconditionInput is an input type that accepts RulesetRuleConditionsSubconditionArgs and RulesetRuleConditionsSubconditionOutput values. You can construct a concrete instance of `RulesetRuleConditionsSubconditionInput` via:
RulesetRuleConditionsSubconditionArgs{...}
type RulesetRuleConditionsSubconditionOutput ¶
type RulesetRuleConditionsSubconditionOutput struct{ *pulumi.OutputState }
func (RulesetRuleConditionsSubconditionOutput) ElementType ¶
func (RulesetRuleConditionsSubconditionOutput) ElementType() reflect.Type
func (RulesetRuleConditionsSubconditionOutput) Operator ¶
func (o RulesetRuleConditionsSubconditionOutput) Operator() pulumi.StringPtrOutput
Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`.
func (RulesetRuleConditionsSubconditionOutput) Parameters ¶
func (o RulesetRuleConditionsSubconditionOutput) Parameters() RulesetRuleConditionsSubconditionParameterArrayOutput
Parameter for the sub-condition. It requires both a `path` and `value` to be set.
func (RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutput ¶
func (o RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutput() RulesetRuleConditionsSubconditionOutput
func (RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutputWithContext ¶
func (o RulesetRuleConditionsSubconditionOutput) ToRulesetRuleConditionsSubconditionOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionOutput
type RulesetRuleConditionsSubconditionParameterArgs ¶
type RulesetRuleConditionsSubconditionParameterArgs struct { Path pulumi.StringPtrInput `pulumi:"path"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value pulumi.StringPtrInput `pulumi:"value"` }
func (RulesetRuleConditionsSubconditionParameterArgs) ElementType ¶
func (RulesetRuleConditionsSubconditionParameterArgs) ElementType() reflect.Type
func (RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutput ¶
func (i RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutput() RulesetRuleConditionsSubconditionParameterOutput
func (RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutputWithContext ¶
func (i RulesetRuleConditionsSubconditionParameterArgs) ToRulesetRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterOutput
type RulesetRuleConditionsSubconditionParameterArray ¶
type RulesetRuleConditionsSubconditionParameterArray []RulesetRuleConditionsSubconditionParameterInput
func (RulesetRuleConditionsSubconditionParameterArray) ElementType ¶
func (RulesetRuleConditionsSubconditionParameterArray) ElementType() reflect.Type
func (RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutput ¶
func (i RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutput() RulesetRuleConditionsSubconditionParameterArrayOutput
func (RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext ¶
func (i RulesetRuleConditionsSubconditionParameterArray) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterArrayOutput
type RulesetRuleConditionsSubconditionParameterArrayInput ¶
type RulesetRuleConditionsSubconditionParameterArrayInput interface { pulumi.Input ToRulesetRuleConditionsSubconditionParameterArrayOutput() RulesetRuleConditionsSubconditionParameterArrayOutput ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext(context.Context) RulesetRuleConditionsSubconditionParameterArrayOutput }
RulesetRuleConditionsSubconditionParameterArrayInput is an input type that accepts RulesetRuleConditionsSubconditionParameterArray and RulesetRuleConditionsSubconditionParameterArrayOutput values. You can construct a concrete instance of `RulesetRuleConditionsSubconditionParameterArrayInput` via:
RulesetRuleConditionsSubconditionParameterArray{ RulesetRuleConditionsSubconditionParameterArgs{...} }
type RulesetRuleConditionsSubconditionParameterArrayOutput ¶
type RulesetRuleConditionsSubconditionParameterArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleConditionsSubconditionParameterArrayOutput) ElementType ¶
func (RulesetRuleConditionsSubconditionParameterArrayOutput) ElementType() reflect.Type
func (RulesetRuleConditionsSubconditionParameterArrayOutput) ToRulesetRuleConditionsSubconditionParameterArrayOutput ¶
func (o RulesetRuleConditionsSubconditionParameterArrayOutput) ToRulesetRuleConditionsSubconditionParameterArrayOutput() RulesetRuleConditionsSubconditionParameterArrayOutput
func (RulesetRuleConditionsSubconditionParameterArrayOutput) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext ¶
func (o RulesetRuleConditionsSubconditionParameterArrayOutput) ToRulesetRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterArrayOutput
type RulesetRuleConditionsSubconditionParameterInput ¶
type RulesetRuleConditionsSubconditionParameterInput interface { pulumi.Input ToRulesetRuleConditionsSubconditionParameterOutput() RulesetRuleConditionsSubconditionParameterOutput ToRulesetRuleConditionsSubconditionParameterOutputWithContext(context.Context) RulesetRuleConditionsSubconditionParameterOutput }
RulesetRuleConditionsSubconditionParameterInput is an input type that accepts RulesetRuleConditionsSubconditionParameterArgs and RulesetRuleConditionsSubconditionParameterOutput values. You can construct a concrete instance of `RulesetRuleConditionsSubconditionParameterInput` via:
RulesetRuleConditionsSubconditionParameterArgs{...}
type RulesetRuleConditionsSubconditionParameterOutput ¶
type RulesetRuleConditionsSubconditionParameterOutput struct{ *pulumi.OutputState }
func (RulesetRuleConditionsSubconditionParameterOutput) ElementType ¶
func (RulesetRuleConditionsSubconditionParameterOutput) ElementType() reflect.Type
func (RulesetRuleConditionsSubconditionParameterOutput) Path ¶
func (o RulesetRuleConditionsSubconditionParameterOutput) Path() pulumi.StringPtrOutput
func (RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutput ¶
func (o RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutput() RulesetRuleConditionsSubconditionParameterOutput
func (RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutputWithContext ¶
func (o RulesetRuleConditionsSubconditionParameterOutput) ToRulesetRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) RulesetRuleConditionsSubconditionParameterOutput
func (RulesetRuleConditionsSubconditionParameterOutput) Value ¶
func (o RulesetRuleConditionsSubconditionParameterOutput) Value() pulumi.StringPtrOutput
Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
type RulesetRuleInput ¶
type RulesetRuleInput interface { pulumi.Input ToRulesetRuleOutput() RulesetRuleOutput ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput }
type RulesetRuleMap ¶
type RulesetRuleMap map[string]RulesetRuleInput
func (RulesetRuleMap) ElementType ¶
func (RulesetRuleMap) ElementType() reflect.Type
func (RulesetRuleMap) ToRulesetRuleMapOutput ¶
func (i RulesetRuleMap) ToRulesetRuleMapOutput() RulesetRuleMapOutput
func (RulesetRuleMap) ToRulesetRuleMapOutputWithContext ¶
func (i RulesetRuleMap) ToRulesetRuleMapOutputWithContext(ctx context.Context) RulesetRuleMapOutput
type RulesetRuleMapInput ¶
type RulesetRuleMapInput interface { pulumi.Input ToRulesetRuleMapOutput() RulesetRuleMapOutput ToRulesetRuleMapOutputWithContext(context.Context) RulesetRuleMapOutput }
RulesetRuleMapInput is an input type that accepts RulesetRuleMap and RulesetRuleMapOutput values. You can construct a concrete instance of `RulesetRuleMapInput` via:
RulesetRuleMap{ "key": RulesetRuleArgs{...} }
type RulesetRuleMapOutput ¶
type RulesetRuleMapOutput struct{ *pulumi.OutputState }
func (RulesetRuleMapOutput) ElementType ¶
func (RulesetRuleMapOutput) ElementType() reflect.Type
func (RulesetRuleMapOutput) MapIndex ¶
func (o RulesetRuleMapOutput) MapIndex(k pulumi.StringInput) RulesetRuleOutput
func (RulesetRuleMapOutput) ToRulesetRuleMapOutput ¶
func (o RulesetRuleMapOutput) ToRulesetRuleMapOutput() RulesetRuleMapOutput
func (RulesetRuleMapOutput) ToRulesetRuleMapOutputWithContext ¶
func (o RulesetRuleMapOutput) ToRulesetRuleMapOutputWithContext(ctx context.Context) RulesetRuleMapOutput
type RulesetRuleOutput ¶
type RulesetRuleOutput struct {
*pulumi.OutputState
}
func (RulesetRuleOutput) ElementType ¶
func (RulesetRuleOutput) ElementType() reflect.Type
func (RulesetRuleOutput) ToRulesetRuleOutput ¶
func (o RulesetRuleOutput) ToRulesetRuleOutput() RulesetRuleOutput
func (RulesetRuleOutput) ToRulesetRuleOutputWithContext ¶
func (o RulesetRuleOutput) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput
func (RulesetRuleOutput) ToRulesetRulePtrOutput ¶
func (o RulesetRuleOutput) ToRulesetRulePtrOutput() RulesetRulePtrOutput
func (RulesetRuleOutput) ToRulesetRulePtrOutputWithContext ¶
func (o RulesetRuleOutput) ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput
type RulesetRulePtrInput ¶
type RulesetRulePtrInput interface { pulumi.Input ToRulesetRulePtrOutput() RulesetRulePtrOutput ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput }
type RulesetRulePtrOutput ¶
type RulesetRulePtrOutput struct {
*pulumi.OutputState
}
func (RulesetRulePtrOutput) ElementType ¶
func (RulesetRulePtrOutput) ElementType() reflect.Type
func (RulesetRulePtrOutput) ToRulesetRulePtrOutput ¶
func (o RulesetRulePtrOutput) ToRulesetRulePtrOutput() RulesetRulePtrOutput
func (RulesetRulePtrOutput) ToRulesetRulePtrOutputWithContext ¶
func (o RulesetRulePtrOutput) ToRulesetRulePtrOutputWithContext(ctx context.Context) RulesetRulePtrOutput
type RulesetRuleState ¶
type RulesetRuleState struct { // Actions to apply to an event if the conditions match. Actions RulesetRuleActionsPtrInput // Conditions evaluated to check if an event matches this event rule. Is always empty for the catch all rule, though. Conditions RulesetRuleConditionsPtrInput // Indicates whether the rule is disabled and would therefore not be evaluated. Disabled pulumi.BoolPtrInput // Position/index of the rule within the ruleset. Position pulumi.IntPtrInput // The ID of the ruleset that the rule belongs to. Ruleset pulumi.StringPtrInput // Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules). TimeFrame RulesetRuleTimeFramePtrInput // Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.* Variables RulesetRuleVariableArrayInput }
func (RulesetRuleState) ElementType ¶
func (RulesetRuleState) ElementType() reflect.Type
type RulesetRuleTimeFrame ¶
type RulesetRuleTimeFrame struct { // Values for executing the rule during a specific time period. ActiveBetweens []RulesetRuleTimeFrameActiveBetween `pulumi:"activeBetweens"` // Values for executing the rule on a recurring schedule. ScheduledWeeklies []RulesetRuleTimeFrameScheduledWeekly `pulumi:"scheduledWeeklies"` }
type RulesetRuleTimeFrameActiveBetweenArgs ¶
type RulesetRuleTimeFrameActiveBetweenArgs struct { // Ending of the scheduled time when the rule should execute. Unix timestamp in milliseconds. EndTime pulumi.IntPtrInput `pulumi:"endTime"` StartTime pulumi.IntPtrInput `pulumi:"startTime"` }
func (RulesetRuleTimeFrameActiveBetweenArgs) ElementType ¶
func (RulesetRuleTimeFrameActiveBetweenArgs) ElementType() reflect.Type
func (RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutput ¶
func (i RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutput() RulesetRuleTimeFrameActiveBetweenOutput
func (RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext ¶
func (i RulesetRuleTimeFrameActiveBetweenArgs) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenOutput
type RulesetRuleTimeFrameActiveBetweenArray ¶
type RulesetRuleTimeFrameActiveBetweenArray []RulesetRuleTimeFrameActiveBetweenInput
func (RulesetRuleTimeFrameActiveBetweenArray) ElementType ¶
func (RulesetRuleTimeFrameActiveBetweenArray) ElementType() reflect.Type
func (RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutput ¶
func (i RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutput() RulesetRuleTimeFrameActiveBetweenArrayOutput
func (RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext ¶
func (i RulesetRuleTimeFrameActiveBetweenArray) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenArrayOutput
type RulesetRuleTimeFrameActiveBetweenArrayInput ¶
type RulesetRuleTimeFrameActiveBetweenArrayInput interface { pulumi.Input ToRulesetRuleTimeFrameActiveBetweenArrayOutput() RulesetRuleTimeFrameActiveBetweenArrayOutput ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext(context.Context) RulesetRuleTimeFrameActiveBetweenArrayOutput }
RulesetRuleTimeFrameActiveBetweenArrayInput is an input type that accepts RulesetRuleTimeFrameActiveBetweenArray and RulesetRuleTimeFrameActiveBetweenArrayOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameActiveBetweenArrayInput` via:
RulesetRuleTimeFrameActiveBetweenArray{ RulesetRuleTimeFrameActiveBetweenArgs{...} }
type RulesetRuleTimeFrameActiveBetweenArrayOutput ¶
type RulesetRuleTimeFrameActiveBetweenArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleTimeFrameActiveBetweenArrayOutput) ElementType ¶
func (RulesetRuleTimeFrameActiveBetweenArrayOutput) ElementType() reflect.Type
func (RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutput ¶
func (o RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutput() RulesetRuleTimeFrameActiveBetweenArrayOutput
func (RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext ¶
func (o RulesetRuleTimeFrameActiveBetweenArrayOutput) ToRulesetRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenArrayOutput
type RulesetRuleTimeFrameActiveBetweenInput ¶
type RulesetRuleTimeFrameActiveBetweenInput interface { pulumi.Input ToRulesetRuleTimeFrameActiveBetweenOutput() RulesetRuleTimeFrameActiveBetweenOutput ToRulesetRuleTimeFrameActiveBetweenOutputWithContext(context.Context) RulesetRuleTimeFrameActiveBetweenOutput }
RulesetRuleTimeFrameActiveBetweenInput is an input type that accepts RulesetRuleTimeFrameActiveBetweenArgs and RulesetRuleTimeFrameActiveBetweenOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameActiveBetweenInput` via:
RulesetRuleTimeFrameActiveBetweenArgs{...}
type RulesetRuleTimeFrameActiveBetweenOutput ¶
type RulesetRuleTimeFrameActiveBetweenOutput struct{ *pulumi.OutputState }
func (RulesetRuleTimeFrameActiveBetweenOutput) ElementType ¶
func (RulesetRuleTimeFrameActiveBetweenOutput) ElementType() reflect.Type
func (RulesetRuleTimeFrameActiveBetweenOutput) EndTime ¶
func (o RulesetRuleTimeFrameActiveBetweenOutput) EndTime() pulumi.IntPtrOutput
Ending of the scheduled time when the rule should execute. Unix timestamp in milliseconds.
func (RulesetRuleTimeFrameActiveBetweenOutput) StartTime ¶
func (o RulesetRuleTimeFrameActiveBetweenOutput) StartTime() pulumi.IntPtrOutput
func (RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutput ¶
func (o RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutput() RulesetRuleTimeFrameActiveBetweenOutput
func (RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext ¶
func (o RulesetRuleTimeFrameActiveBetweenOutput) ToRulesetRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) RulesetRuleTimeFrameActiveBetweenOutput
type RulesetRuleTimeFrameArgs ¶
type RulesetRuleTimeFrameArgs struct { // Values for executing the rule during a specific time period. ActiveBetweens RulesetRuleTimeFrameActiveBetweenArrayInput `pulumi:"activeBetweens"` // Values for executing the rule on a recurring schedule. ScheduledWeeklies RulesetRuleTimeFrameScheduledWeeklyArrayInput `pulumi:"scheduledWeeklies"` }
func (RulesetRuleTimeFrameArgs) ElementType ¶
func (RulesetRuleTimeFrameArgs) ElementType() reflect.Type
func (RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutput ¶
func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutput() RulesetRuleTimeFrameOutput
func (RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutputWithContext ¶
func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFrameOutputWithContext(ctx context.Context) RulesetRuleTimeFrameOutput
func (RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutput ¶
func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput
func (RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutputWithContext ¶
func (i RulesetRuleTimeFrameArgs) ToRulesetRuleTimeFramePtrOutputWithContext(ctx context.Context) RulesetRuleTimeFramePtrOutput
type RulesetRuleTimeFrameInput ¶
type RulesetRuleTimeFrameInput interface { pulumi.Input ToRulesetRuleTimeFrameOutput() RulesetRuleTimeFrameOutput ToRulesetRuleTimeFrameOutputWithContext(context.Context) RulesetRuleTimeFrameOutput }
RulesetRuleTimeFrameInput is an input type that accepts RulesetRuleTimeFrameArgs and RulesetRuleTimeFrameOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameInput` via:
RulesetRuleTimeFrameArgs{...}
type RulesetRuleTimeFrameOutput ¶
type RulesetRuleTimeFrameOutput struct{ *pulumi.OutputState }
func (RulesetRuleTimeFrameOutput) ActiveBetweens ¶
func (o RulesetRuleTimeFrameOutput) ActiveBetweens() RulesetRuleTimeFrameActiveBetweenArrayOutput
Values for executing the rule during a specific time period.
func (RulesetRuleTimeFrameOutput) ElementType ¶
func (RulesetRuleTimeFrameOutput) ElementType() reflect.Type
func (RulesetRuleTimeFrameOutput) ScheduledWeeklies ¶
func (o RulesetRuleTimeFrameOutput) ScheduledWeeklies() RulesetRuleTimeFrameScheduledWeeklyArrayOutput
Values for executing the rule on a recurring schedule.
func (RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutput ¶
func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutput() RulesetRuleTimeFrameOutput
func (RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutputWithContext ¶
func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFrameOutputWithContext(ctx context.Context) RulesetRuleTimeFrameOutput
func (RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutput ¶
func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput
func (RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutputWithContext ¶
func (o RulesetRuleTimeFrameOutput) ToRulesetRuleTimeFramePtrOutputWithContext(ctx context.Context) RulesetRuleTimeFramePtrOutput
type RulesetRuleTimeFramePtrInput ¶
type RulesetRuleTimeFramePtrInput interface { pulumi.Input ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput ToRulesetRuleTimeFramePtrOutputWithContext(context.Context) RulesetRuleTimeFramePtrOutput }
RulesetRuleTimeFramePtrInput is an input type that accepts RulesetRuleTimeFrameArgs, RulesetRuleTimeFramePtr and RulesetRuleTimeFramePtrOutput values. You can construct a concrete instance of `RulesetRuleTimeFramePtrInput` via:
RulesetRuleTimeFrameArgs{...} or: nil
func RulesetRuleTimeFramePtr ¶
func RulesetRuleTimeFramePtr(v *RulesetRuleTimeFrameArgs) RulesetRuleTimeFramePtrInput
type RulesetRuleTimeFramePtrOutput ¶
type RulesetRuleTimeFramePtrOutput struct{ *pulumi.OutputState }
func (RulesetRuleTimeFramePtrOutput) ActiveBetweens ¶
func (o RulesetRuleTimeFramePtrOutput) ActiveBetweens() RulesetRuleTimeFrameActiveBetweenArrayOutput
Values for executing the rule during a specific time period.
func (RulesetRuleTimeFramePtrOutput) Elem ¶
func (o RulesetRuleTimeFramePtrOutput) Elem() RulesetRuleTimeFrameOutput
func (RulesetRuleTimeFramePtrOutput) ElementType ¶
func (RulesetRuleTimeFramePtrOutput) ElementType() reflect.Type
func (RulesetRuleTimeFramePtrOutput) ScheduledWeeklies ¶
func (o RulesetRuleTimeFramePtrOutput) ScheduledWeeklies() RulesetRuleTimeFrameScheduledWeeklyArrayOutput
Values for executing the rule on a recurring schedule.
func (RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutput ¶
func (o RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutput() RulesetRuleTimeFramePtrOutput
func (RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutputWithContext ¶
func (o RulesetRuleTimeFramePtrOutput) ToRulesetRuleTimeFramePtrOutputWithContext(ctx context.Context) RulesetRuleTimeFramePtrOutput
type RulesetRuleTimeFrameScheduledWeekly ¶
type RulesetRuleTimeFrameScheduledWeekly struct { // Length of time the schedule will be active in milliseconds. For example `duration = 2 * 60 * 60 * 1000` if you want your rule to apply for 2 hours, from the specified `startTime`. Duration *int `pulumi:"duration"` StartTime *int `pulumi:"startTime"` // [The name of the timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the given schedule, which will be used to determine UTC offset including adjustment for daylight saving time. For example: `timezone = "America/Toronto"` Timezone *string `pulumi:"timezone"` // An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday. Weekdays []int `pulumi:"weekdays"` }
type RulesetRuleTimeFrameScheduledWeeklyArgs ¶
type RulesetRuleTimeFrameScheduledWeeklyArgs struct { // Length of time the schedule will be active in milliseconds. For example `duration = 2 * 60 * 60 * 1000` if you want your rule to apply for 2 hours, from the specified `startTime`. Duration pulumi.IntPtrInput `pulumi:"duration"` StartTime pulumi.IntPtrInput `pulumi:"startTime"` // [The name of the timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the given schedule, which will be used to determine UTC offset including adjustment for daylight saving time. For example: `timezone = "America/Toronto"` Timezone pulumi.StringPtrInput `pulumi:"timezone"` // An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday. Weekdays pulumi.IntArrayInput `pulumi:"weekdays"` }
func (RulesetRuleTimeFrameScheduledWeeklyArgs) ElementType ¶
func (RulesetRuleTimeFrameScheduledWeeklyArgs) ElementType() reflect.Type
func (RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutput ¶
func (i RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutput() RulesetRuleTimeFrameScheduledWeeklyOutput
func (RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext ¶
func (i RulesetRuleTimeFrameScheduledWeeklyArgs) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyOutput
type RulesetRuleTimeFrameScheduledWeeklyArray ¶
type RulesetRuleTimeFrameScheduledWeeklyArray []RulesetRuleTimeFrameScheduledWeeklyInput
func (RulesetRuleTimeFrameScheduledWeeklyArray) ElementType ¶
func (RulesetRuleTimeFrameScheduledWeeklyArray) ElementType() reflect.Type
func (RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput ¶
func (i RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput() RulesetRuleTimeFrameScheduledWeeklyArrayOutput
func (RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext ¶
func (i RulesetRuleTimeFrameScheduledWeeklyArray) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyArrayOutput
type RulesetRuleTimeFrameScheduledWeeklyArrayInput ¶
type RulesetRuleTimeFrameScheduledWeeklyArrayInput interface { pulumi.Input ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput() RulesetRuleTimeFrameScheduledWeeklyArrayOutput ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext(context.Context) RulesetRuleTimeFrameScheduledWeeklyArrayOutput }
RulesetRuleTimeFrameScheduledWeeklyArrayInput is an input type that accepts RulesetRuleTimeFrameScheduledWeeklyArray and RulesetRuleTimeFrameScheduledWeeklyArrayOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameScheduledWeeklyArrayInput` via:
RulesetRuleTimeFrameScheduledWeeklyArray{ RulesetRuleTimeFrameScheduledWeeklyArgs{...} }
type RulesetRuleTimeFrameScheduledWeeklyArrayOutput ¶
type RulesetRuleTimeFrameScheduledWeeklyArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ElementType ¶
func (RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ElementType() reflect.Type
func (RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput ¶
func (o RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutput() RulesetRuleTimeFrameScheduledWeeklyArrayOutput
func (RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext ¶
func (o RulesetRuleTimeFrameScheduledWeeklyArrayOutput) ToRulesetRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyArrayOutput
type RulesetRuleTimeFrameScheduledWeeklyInput ¶
type RulesetRuleTimeFrameScheduledWeeklyInput interface { pulumi.Input ToRulesetRuleTimeFrameScheduledWeeklyOutput() RulesetRuleTimeFrameScheduledWeeklyOutput ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext(context.Context) RulesetRuleTimeFrameScheduledWeeklyOutput }
RulesetRuleTimeFrameScheduledWeeklyInput is an input type that accepts RulesetRuleTimeFrameScheduledWeeklyArgs and RulesetRuleTimeFrameScheduledWeeklyOutput values. You can construct a concrete instance of `RulesetRuleTimeFrameScheduledWeeklyInput` via:
RulesetRuleTimeFrameScheduledWeeklyArgs{...}
type RulesetRuleTimeFrameScheduledWeeklyOutput ¶
type RulesetRuleTimeFrameScheduledWeeklyOutput struct{ *pulumi.OutputState }
func (RulesetRuleTimeFrameScheduledWeeklyOutput) Duration ¶
func (o RulesetRuleTimeFrameScheduledWeeklyOutput) Duration() pulumi.IntPtrOutput
Length of time the schedule will be active in milliseconds. For example `duration = 2 * 60 * 60 * 1000` if you want your rule to apply for 2 hours, from the specified `startTime`.
func (RulesetRuleTimeFrameScheduledWeeklyOutput) ElementType ¶
func (RulesetRuleTimeFrameScheduledWeeklyOutput) ElementType() reflect.Type
func (RulesetRuleTimeFrameScheduledWeeklyOutput) StartTime ¶
func (o RulesetRuleTimeFrameScheduledWeeklyOutput) StartTime() pulumi.IntPtrOutput
func (RulesetRuleTimeFrameScheduledWeeklyOutput) Timezone ¶
func (o RulesetRuleTimeFrameScheduledWeeklyOutput) Timezone() pulumi.StringPtrOutput
[The name of the timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the given schedule, which will be used to determine UTC offset including adjustment for daylight saving time. For example: `timezone = "America/Toronto"`
func (RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutput ¶
func (o RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutput() RulesetRuleTimeFrameScheduledWeeklyOutput
func (RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext ¶
func (o RulesetRuleTimeFrameScheduledWeeklyOutput) ToRulesetRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) RulesetRuleTimeFrameScheduledWeeklyOutput
func (RulesetRuleTimeFrameScheduledWeeklyOutput) Weekdays ¶
func (o RulesetRuleTimeFrameScheduledWeeklyOutput) Weekdays() pulumi.IntArrayOutput
An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday.
type RulesetRuleVariable ¶
type RulesetRuleVariable struct { Name *string `pulumi:"name"` Parameters []RulesetRuleVariableParameter `pulumi:"parameters"` Type *string `pulumi:"type"` }
type RulesetRuleVariableArgs ¶
type RulesetRuleVariableArgs struct { Name pulumi.StringPtrInput `pulumi:"name"` Parameters RulesetRuleVariableParameterArrayInput `pulumi:"parameters"` Type pulumi.StringPtrInput `pulumi:"type"` }
func (RulesetRuleVariableArgs) ElementType ¶
func (RulesetRuleVariableArgs) ElementType() reflect.Type
func (RulesetRuleVariableArgs) ToRulesetRuleVariableOutput ¶
func (i RulesetRuleVariableArgs) ToRulesetRuleVariableOutput() RulesetRuleVariableOutput
func (RulesetRuleVariableArgs) ToRulesetRuleVariableOutputWithContext ¶
func (i RulesetRuleVariableArgs) ToRulesetRuleVariableOutputWithContext(ctx context.Context) RulesetRuleVariableOutput
type RulesetRuleVariableArray ¶
type RulesetRuleVariableArray []RulesetRuleVariableInput
func (RulesetRuleVariableArray) ElementType ¶
func (RulesetRuleVariableArray) ElementType() reflect.Type
func (RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutput ¶
func (i RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutput() RulesetRuleVariableArrayOutput
func (RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutputWithContext ¶
func (i RulesetRuleVariableArray) ToRulesetRuleVariableArrayOutputWithContext(ctx context.Context) RulesetRuleVariableArrayOutput
type RulesetRuleVariableArrayInput ¶
type RulesetRuleVariableArrayInput interface { pulumi.Input ToRulesetRuleVariableArrayOutput() RulesetRuleVariableArrayOutput ToRulesetRuleVariableArrayOutputWithContext(context.Context) RulesetRuleVariableArrayOutput }
RulesetRuleVariableArrayInput is an input type that accepts RulesetRuleVariableArray and RulesetRuleVariableArrayOutput values. You can construct a concrete instance of `RulesetRuleVariableArrayInput` via:
RulesetRuleVariableArray{ RulesetRuleVariableArgs{...} }
type RulesetRuleVariableArrayOutput ¶
type RulesetRuleVariableArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleVariableArrayOutput) ElementType ¶
func (RulesetRuleVariableArrayOutput) ElementType() reflect.Type
func (RulesetRuleVariableArrayOutput) Index ¶
func (o RulesetRuleVariableArrayOutput) Index(i pulumi.IntInput) RulesetRuleVariableOutput
func (RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutput ¶
func (o RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutput() RulesetRuleVariableArrayOutput
func (RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutputWithContext ¶
func (o RulesetRuleVariableArrayOutput) ToRulesetRuleVariableArrayOutputWithContext(ctx context.Context) RulesetRuleVariableArrayOutput
type RulesetRuleVariableInput ¶
type RulesetRuleVariableInput interface { pulumi.Input ToRulesetRuleVariableOutput() RulesetRuleVariableOutput ToRulesetRuleVariableOutputWithContext(context.Context) RulesetRuleVariableOutput }
RulesetRuleVariableInput is an input type that accepts RulesetRuleVariableArgs and RulesetRuleVariableOutput values. You can construct a concrete instance of `RulesetRuleVariableInput` via:
RulesetRuleVariableArgs{...}
type RulesetRuleVariableOutput ¶
type RulesetRuleVariableOutput struct{ *pulumi.OutputState }
func (RulesetRuleVariableOutput) ElementType ¶
func (RulesetRuleVariableOutput) ElementType() reflect.Type
func (RulesetRuleVariableOutput) Name ¶
func (o RulesetRuleVariableOutput) Name() pulumi.StringPtrOutput
func (RulesetRuleVariableOutput) Parameters ¶
func (o RulesetRuleVariableOutput) Parameters() RulesetRuleVariableParameterArrayOutput
func (RulesetRuleVariableOutput) ToRulesetRuleVariableOutput ¶
func (o RulesetRuleVariableOutput) ToRulesetRuleVariableOutput() RulesetRuleVariableOutput
func (RulesetRuleVariableOutput) ToRulesetRuleVariableOutputWithContext ¶
func (o RulesetRuleVariableOutput) ToRulesetRuleVariableOutputWithContext(ctx context.Context) RulesetRuleVariableOutput
func (RulesetRuleVariableOutput) Type ¶
func (o RulesetRuleVariableOutput) Type() pulumi.StringPtrOutput
type RulesetRuleVariableParameterArgs ¶
type RulesetRuleVariableParameterArgs struct { Path pulumi.StringPtrInput `pulumi:"path"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value pulumi.StringPtrInput `pulumi:"value"` }
func (RulesetRuleVariableParameterArgs) ElementType ¶
func (RulesetRuleVariableParameterArgs) ElementType() reflect.Type
func (RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutput ¶
func (i RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput
func (RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutputWithContext ¶
func (i RulesetRuleVariableParameterArgs) ToRulesetRuleVariableParameterOutputWithContext(ctx context.Context) RulesetRuleVariableParameterOutput
type RulesetRuleVariableParameterArray ¶
type RulesetRuleVariableParameterArray []RulesetRuleVariableParameterInput
func (RulesetRuleVariableParameterArray) ElementType ¶
func (RulesetRuleVariableParameterArray) ElementType() reflect.Type
func (RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutput ¶
func (i RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput
func (RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutputWithContext ¶
func (i RulesetRuleVariableParameterArray) ToRulesetRuleVariableParameterArrayOutputWithContext(ctx context.Context) RulesetRuleVariableParameterArrayOutput
type RulesetRuleVariableParameterArrayInput ¶
type RulesetRuleVariableParameterArrayInput interface { pulumi.Input ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput ToRulesetRuleVariableParameterArrayOutputWithContext(context.Context) RulesetRuleVariableParameterArrayOutput }
RulesetRuleVariableParameterArrayInput is an input type that accepts RulesetRuleVariableParameterArray and RulesetRuleVariableParameterArrayOutput values. You can construct a concrete instance of `RulesetRuleVariableParameterArrayInput` via:
RulesetRuleVariableParameterArray{ RulesetRuleVariableParameterArgs{...} }
type RulesetRuleVariableParameterArrayOutput ¶
type RulesetRuleVariableParameterArrayOutput struct{ *pulumi.OutputState }
func (RulesetRuleVariableParameterArrayOutput) ElementType ¶
func (RulesetRuleVariableParameterArrayOutput) ElementType() reflect.Type
func (RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutput ¶
func (o RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutput() RulesetRuleVariableParameterArrayOutput
func (RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutputWithContext ¶
func (o RulesetRuleVariableParameterArrayOutput) ToRulesetRuleVariableParameterArrayOutputWithContext(ctx context.Context) RulesetRuleVariableParameterArrayOutput
type RulesetRuleVariableParameterInput ¶
type RulesetRuleVariableParameterInput interface { pulumi.Input ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput ToRulesetRuleVariableParameterOutputWithContext(context.Context) RulesetRuleVariableParameterOutput }
RulesetRuleVariableParameterInput is an input type that accepts RulesetRuleVariableParameterArgs and RulesetRuleVariableParameterOutput values. You can construct a concrete instance of `RulesetRuleVariableParameterInput` via:
RulesetRuleVariableParameterArgs{...}
type RulesetRuleVariableParameterOutput ¶
type RulesetRuleVariableParameterOutput struct{ *pulumi.OutputState }
func (RulesetRuleVariableParameterOutput) ElementType ¶
func (RulesetRuleVariableParameterOutput) ElementType() reflect.Type
func (RulesetRuleVariableParameterOutput) Path ¶
func (o RulesetRuleVariableParameterOutput) Path() pulumi.StringPtrOutput
func (RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutput ¶
func (o RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutput() RulesetRuleVariableParameterOutput
func (RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutputWithContext ¶
func (o RulesetRuleVariableParameterOutput) ToRulesetRuleVariableParameterOutputWithContext(ctx context.Context) RulesetRuleVariableParameterOutput
func (RulesetRuleVariableParameterOutput) Value ¶
func (o RulesetRuleVariableParameterOutput) Value() pulumi.StringPtrOutput
Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met.
type RulesetState ¶
type RulesetState struct { // Name of the ruleset. Name pulumi.StringPtrInput // Routing keys routed to this ruleset. RoutingKeys pulumi.StringArrayInput // Reference to the team that owns the ruleset. If none is specified, only admins have access. Team RulesetTeamPtrInput // Type of ruleset. Currently only sets to `global`. Type pulumi.StringPtrInput }
func (RulesetState) ElementType ¶
func (RulesetState) ElementType() reflect.Type
type RulesetTeam ¶
type RulesetTeam struct { // The ID of the ruleset. Id string `pulumi:"id"` }
type RulesetTeamArgs ¶
type RulesetTeamArgs struct { // The ID of the ruleset. Id pulumi.StringInput `pulumi:"id"` }
func (RulesetTeamArgs) ElementType ¶
func (RulesetTeamArgs) ElementType() reflect.Type
func (RulesetTeamArgs) ToRulesetTeamOutput ¶
func (i RulesetTeamArgs) ToRulesetTeamOutput() RulesetTeamOutput
func (RulesetTeamArgs) ToRulesetTeamOutputWithContext ¶
func (i RulesetTeamArgs) ToRulesetTeamOutputWithContext(ctx context.Context) RulesetTeamOutput
func (RulesetTeamArgs) ToRulesetTeamPtrOutput ¶
func (i RulesetTeamArgs) ToRulesetTeamPtrOutput() RulesetTeamPtrOutput
func (RulesetTeamArgs) ToRulesetTeamPtrOutputWithContext ¶
func (i RulesetTeamArgs) ToRulesetTeamPtrOutputWithContext(ctx context.Context) RulesetTeamPtrOutput
type RulesetTeamInput ¶
type RulesetTeamInput interface { pulumi.Input ToRulesetTeamOutput() RulesetTeamOutput ToRulesetTeamOutputWithContext(context.Context) RulesetTeamOutput }
RulesetTeamInput is an input type that accepts RulesetTeamArgs and RulesetTeamOutput values. You can construct a concrete instance of `RulesetTeamInput` via:
RulesetTeamArgs{...}
type RulesetTeamOutput ¶
type RulesetTeamOutput struct{ *pulumi.OutputState }
func (RulesetTeamOutput) ElementType ¶
func (RulesetTeamOutput) ElementType() reflect.Type
func (RulesetTeamOutput) Id ¶
func (o RulesetTeamOutput) Id() pulumi.StringOutput
The ID of the ruleset.
func (RulesetTeamOutput) ToRulesetTeamOutput ¶
func (o RulesetTeamOutput) ToRulesetTeamOutput() RulesetTeamOutput
func (RulesetTeamOutput) ToRulesetTeamOutputWithContext ¶
func (o RulesetTeamOutput) ToRulesetTeamOutputWithContext(ctx context.Context) RulesetTeamOutput
func (RulesetTeamOutput) ToRulesetTeamPtrOutput ¶
func (o RulesetTeamOutput) ToRulesetTeamPtrOutput() RulesetTeamPtrOutput
func (RulesetTeamOutput) ToRulesetTeamPtrOutputWithContext ¶
func (o RulesetTeamOutput) ToRulesetTeamPtrOutputWithContext(ctx context.Context) RulesetTeamPtrOutput
type RulesetTeamPtrInput ¶
type RulesetTeamPtrInput interface { pulumi.Input ToRulesetTeamPtrOutput() RulesetTeamPtrOutput ToRulesetTeamPtrOutputWithContext(context.Context) RulesetTeamPtrOutput }
RulesetTeamPtrInput is an input type that accepts RulesetTeamArgs, RulesetTeamPtr and RulesetTeamPtrOutput values. You can construct a concrete instance of `RulesetTeamPtrInput` via:
RulesetTeamArgs{...} or: nil
func RulesetTeamPtr ¶
func RulesetTeamPtr(v *RulesetTeamArgs) RulesetTeamPtrInput
type RulesetTeamPtrOutput ¶
type RulesetTeamPtrOutput struct{ *pulumi.OutputState }
func (RulesetTeamPtrOutput) Elem ¶
func (o RulesetTeamPtrOutput) Elem() RulesetTeamOutput
func (RulesetTeamPtrOutput) ElementType ¶
func (RulesetTeamPtrOutput) ElementType() reflect.Type
func (RulesetTeamPtrOutput) Id ¶
func (o RulesetTeamPtrOutput) Id() pulumi.StringPtrOutput
The ID of the ruleset.
func (RulesetTeamPtrOutput) ToRulesetTeamPtrOutput ¶
func (o RulesetTeamPtrOutput) ToRulesetTeamPtrOutput() RulesetTeamPtrOutput
func (RulesetTeamPtrOutput) ToRulesetTeamPtrOutputWithContext ¶
func (o RulesetTeamPtrOutput) ToRulesetTeamPtrOutputWithContext(ctx context.Context) RulesetTeamPtrOutput
type Schedule ¶
type Schedule struct { pulumi.CustomResourceState // The description of the schedule Description pulumi.StringOutput `pulumi:"description"` // A schedule layer block. Schedule layers documented below. Layers ScheduleLayerArrayOutput `pulumi:"layers"` // The name of the schedule. Name pulumi.StringOutput `pulumi:"name"` // Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter `overflow` is passed. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from `2011-06-01T10:00:00Z` to `2011-06-01T14:00:00Z`: // If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of `2011-06-01T10:00:00Z` and end of `2011-06-01T14:00:00Z`. // If you do pass the `overflow` parameter, you will get one schedule entry returned with a start of `2011-06-01T00:00:00Z` and end of `2011-06-02T00:00:00Z`. Overflow pulumi.BoolPtrOutput `pulumi:"overflow"` // Teams associated with the schedule. Teams pulumi.StringArrayOutput `pulumi:"teams"` // The time zone of the schedule (e.g Europe/Berlin). TimeZone pulumi.StringOutput `pulumi:"timeZone"` }
A [schedule](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1schedules~1%7Bid%7D~1users/get) determines the time periods that users are on call. Only on-call users are eligible to receive notifications from incidents.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{ Email: pulumi.String("125.greenholt.earline@graham.name"), }) if err != nil { return err } exampleTeam, err := pagerduty.NewTeam(ctx, "exampleTeam", nil) if err != nil { return err } _, err = pagerduty.NewSchedule(ctx, "foo", &pagerduty.ScheduleArgs{ TimeZone: pulumi.String("America/New_York"), Layers: pagerduty.ScheduleLayerArray{ &pagerduty.ScheduleLayerArgs{ Name: pulumi.String("Night Shift"), Start: pulumi.String("2015-11-06T20:00:00-05:00"), RotationVirtualStart: pulumi.String("2015-11-06T20:00:00-05:00"), RotationTurnLengthSeconds: pulumi.Int(86400), Users: pulumi.StringArray{ exampleUser.ID(), }, Restrictions: pagerduty.ScheduleLayerRestrictionArray{ &pagerduty.ScheduleLayerRestrictionArgs{ Type: pulumi.String("daily_restriction"), StartTimeOfDay: pulumi.String("08:00:00"), DurationSeconds: pulumi.Int(32400), }, }, }, }, Teams: pulumi.StringArray{ exampleTeam.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
Schedules can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/schedule:Schedule main PLBP09X
```
func GetSchedule ¶
func GetSchedule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ScheduleState, opts ...pulumi.ResourceOption) (*Schedule, error)
GetSchedule gets an existing Schedule 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 NewSchedule ¶
func NewSchedule(ctx *pulumi.Context, name string, args *ScheduleArgs, opts ...pulumi.ResourceOption) (*Schedule, error)
NewSchedule registers a new resource with the given unique name, arguments, and options.
func (*Schedule) ElementType ¶
func (*Schedule) ToScheduleOutput ¶
func (i *Schedule) ToScheduleOutput() ScheduleOutput
func (*Schedule) ToScheduleOutputWithContext ¶
func (i *Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
func (*Schedule) ToSchedulePtrOutput ¶
func (i *Schedule) ToSchedulePtrOutput() SchedulePtrOutput
func (*Schedule) ToSchedulePtrOutputWithContext ¶
func (i *Schedule) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput
type ScheduleArgs ¶
type ScheduleArgs struct { // The description of the schedule Description pulumi.StringPtrInput // A schedule layer block. Schedule layers documented below. Layers ScheduleLayerArrayInput // The name of the schedule. Name pulumi.StringPtrInput // Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter `overflow` is passed. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from `2011-06-01T10:00:00Z` to `2011-06-01T14:00:00Z`: // If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of `2011-06-01T10:00:00Z` and end of `2011-06-01T14:00:00Z`. // If you do pass the `overflow` parameter, you will get one schedule entry returned with a start of `2011-06-01T00:00:00Z` and end of `2011-06-02T00:00:00Z`. Overflow pulumi.BoolPtrInput // Teams associated with the schedule. Teams pulumi.StringArrayInput // The time zone of the schedule (e.g Europe/Berlin). TimeZone pulumi.StringInput }
The set of arguments for constructing a Schedule resource.
func (ScheduleArgs) ElementType ¶
func (ScheduleArgs) ElementType() reflect.Type
type ScheduleArray ¶
type ScheduleArray []ScheduleInput
func (ScheduleArray) ElementType ¶
func (ScheduleArray) ElementType() reflect.Type
func (ScheduleArray) ToScheduleArrayOutput ¶
func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput
func (ScheduleArray) ToScheduleArrayOutputWithContext ¶
func (i ScheduleArray) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput
type ScheduleArrayInput ¶
type ScheduleArrayInput interface { pulumi.Input ToScheduleArrayOutput() ScheduleArrayOutput ToScheduleArrayOutputWithContext(context.Context) ScheduleArrayOutput }
ScheduleArrayInput is an input type that accepts ScheduleArray and ScheduleArrayOutput values. You can construct a concrete instance of `ScheduleArrayInput` via:
ScheduleArray{ ScheduleArgs{...} }
type ScheduleArrayOutput ¶
type ScheduleArrayOutput struct{ *pulumi.OutputState }
func (ScheduleArrayOutput) ElementType ¶
func (ScheduleArrayOutput) ElementType() reflect.Type
func (ScheduleArrayOutput) Index ¶
func (o ScheduleArrayOutput) Index(i pulumi.IntInput) ScheduleOutput
func (ScheduleArrayOutput) ToScheduleArrayOutput ¶
func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput
func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext ¶
func (o ScheduleArrayOutput) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput
type ScheduleInput ¶
type ScheduleInput interface { pulumi.Input ToScheduleOutput() ScheduleOutput ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput }
type ScheduleLayer ¶
type ScheduleLayer struct { // The end time of the schedule layer. If not specified, the layer does not end. End *string `pulumi:"end"` // The ID of the schedule Id *string `pulumi:"id"` // The name of the schedule layer. Name *string `pulumi:"name"` // A schedule layer restriction block. Restriction blocks documented below. Restrictions []ScheduleLayerRestriction `pulumi:"restrictions"` // The duration of each on-call shift in `seconds`. RotationTurnLengthSeconds int `pulumi:"rotationTurnLengthSeconds"` // The effective start time of the schedule layer. This can be before the start time of the schedule. RotationVirtualStart string `pulumi:"rotationVirtualStart"` // The start time of the schedule layer. Start string `pulumi:"start"` // The ordered list of users on this layer. The position of the user on the list determines their order in the layer. Users []string `pulumi:"users"` }
type ScheduleLayerArgs ¶
type ScheduleLayerArgs struct { // The end time of the schedule layer. If not specified, the layer does not end. End pulumi.StringPtrInput `pulumi:"end"` // The ID of the schedule Id pulumi.StringPtrInput `pulumi:"id"` // The name of the schedule layer. Name pulumi.StringPtrInput `pulumi:"name"` // A schedule layer restriction block. Restriction blocks documented below. Restrictions ScheduleLayerRestrictionArrayInput `pulumi:"restrictions"` // The duration of each on-call shift in `seconds`. RotationTurnLengthSeconds pulumi.IntInput `pulumi:"rotationTurnLengthSeconds"` // The effective start time of the schedule layer. This can be before the start time of the schedule. RotationVirtualStart pulumi.StringInput `pulumi:"rotationVirtualStart"` // The start time of the schedule layer. Start pulumi.StringInput `pulumi:"start"` // The ordered list of users on this layer. The position of the user on the list determines their order in the layer. Users pulumi.StringArrayInput `pulumi:"users"` }
func (ScheduleLayerArgs) ElementType ¶
func (ScheduleLayerArgs) ElementType() reflect.Type
func (ScheduleLayerArgs) ToScheduleLayerOutput ¶
func (i ScheduleLayerArgs) ToScheduleLayerOutput() ScheduleLayerOutput
func (ScheduleLayerArgs) ToScheduleLayerOutputWithContext ¶
func (i ScheduleLayerArgs) ToScheduleLayerOutputWithContext(ctx context.Context) ScheduleLayerOutput
type ScheduleLayerArray ¶
type ScheduleLayerArray []ScheduleLayerInput
func (ScheduleLayerArray) ElementType ¶
func (ScheduleLayerArray) ElementType() reflect.Type
func (ScheduleLayerArray) ToScheduleLayerArrayOutput ¶
func (i ScheduleLayerArray) ToScheduleLayerArrayOutput() ScheduleLayerArrayOutput
func (ScheduleLayerArray) ToScheduleLayerArrayOutputWithContext ¶
func (i ScheduleLayerArray) ToScheduleLayerArrayOutputWithContext(ctx context.Context) ScheduleLayerArrayOutput
type ScheduleLayerArrayInput ¶
type ScheduleLayerArrayInput interface { pulumi.Input ToScheduleLayerArrayOutput() ScheduleLayerArrayOutput ToScheduleLayerArrayOutputWithContext(context.Context) ScheduleLayerArrayOutput }
ScheduleLayerArrayInput is an input type that accepts ScheduleLayerArray and ScheduleLayerArrayOutput values. You can construct a concrete instance of `ScheduleLayerArrayInput` via:
ScheduleLayerArray{ ScheduleLayerArgs{...} }
type ScheduleLayerArrayOutput ¶
type ScheduleLayerArrayOutput struct{ *pulumi.OutputState }
func (ScheduleLayerArrayOutput) ElementType ¶
func (ScheduleLayerArrayOutput) ElementType() reflect.Type
func (ScheduleLayerArrayOutput) Index ¶
func (o ScheduleLayerArrayOutput) Index(i pulumi.IntInput) ScheduleLayerOutput
func (ScheduleLayerArrayOutput) ToScheduleLayerArrayOutput ¶
func (o ScheduleLayerArrayOutput) ToScheduleLayerArrayOutput() ScheduleLayerArrayOutput
func (ScheduleLayerArrayOutput) ToScheduleLayerArrayOutputWithContext ¶
func (o ScheduleLayerArrayOutput) ToScheduleLayerArrayOutputWithContext(ctx context.Context) ScheduleLayerArrayOutput
type ScheduleLayerInput ¶
type ScheduleLayerInput interface { pulumi.Input ToScheduleLayerOutput() ScheduleLayerOutput ToScheduleLayerOutputWithContext(context.Context) ScheduleLayerOutput }
ScheduleLayerInput is an input type that accepts ScheduleLayerArgs and ScheduleLayerOutput values. You can construct a concrete instance of `ScheduleLayerInput` via:
ScheduleLayerArgs{...}
type ScheduleLayerOutput ¶
type ScheduleLayerOutput struct{ *pulumi.OutputState }
func (ScheduleLayerOutput) ElementType ¶
func (ScheduleLayerOutput) ElementType() reflect.Type
func (ScheduleLayerOutput) End ¶
func (o ScheduleLayerOutput) End() pulumi.StringPtrOutput
The end time of the schedule layer. If not specified, the layer does not end.
func (ScheduleLayerOutput) Id ¶
func (o ScheduleLayerOutput) Id() pulumi.StringPtrOutput
The ID of the schedule
func (ScheduleLayerOutput) Name ¶
func (o ScheduleLayerOutput) Name() pulumi.StringPtrOutput
The name of the schedule layer.
func (ScheduleLayerOutput) Restrictions ¶
func (o ScheduleLayerOutput) Restrictions() ScheduleLayerRestrictionArrayOutput
A schedule layer restriction block. Restriction blocks documented below.
func (ScheduleLayerOutput) RotationTurnLengthSeconds ¶
func (o ScheduleLayerOutput) RotationTurnLengthSeconds() pulumi.IntOutput
The duration of each on-call shift in `seconds`.
func (ScheduleLayerOutput) RotationVirtualStart ¶
func (o ScheduleLayerOutput) RotationVirtualStart() pulumi.StringOutput
The effective start time of the schedule layer. This can be before the start time of the schedule.
func (ScheduleLayerOutput) Start ¶
func (o ScheduleLayerOutput) Start() pulumi.StringOutput
The start time of the schedule layer.
func (ScheduleLayerOutput) ToScheduleLayerOutput ¶
func (o ScheduleLayerOutput) ToScheduleLayerOutput() ScheduleLayerOutput
func (ScheduleLayerOutput) ToScheduleLayerOutputWithContext ¶
func (o ScheduleLayerOutput) ToScheduleLayerOutputWithContext(ctx context.Context) ScheduleLayerOutput
func (ScheduleLayerOutput) Users ¶
func (o ScheduleLayerOutput) Users() pulumi.StringArrayOutput
The ordered list of users on this layer. The position of the user on the list determines their order in the layer.
type ScheduleLayerRestriction ¶
type ScheduleLayerRestriction struct { // The duration of the restriction in `seconds`. DurationSeconds int `pulumi:"durationSeconds"` // Number of the day when restriction starts. From 1 to 7 where 1 is Monday and 7 is Sunday. StartDayOfWeek *int `pulumi:"startDayOfWeek"` // The start time in `HH:mm:ss` format. StartTimeOfDay string `pulumi:"startTimeOfDay"` // Can be `dailyRestriction` or `weeklyRestriction` Type string `pulumi:"type"` }
type ScheduleLayerRestrictionArgs ¶
type ScheduleLayerRestrictionArgs struct { // The duration of the restriction in `seconds`. DurationSeconds pulumi.IntInput `pulumi:"durationSeconds"` // Number of the day when restriction starts. From 1 to 7 where 1 is Monday and 7 is Sunday. StartDayOfWeek pulumi.IntPtrInput `pulumi:"startDayOfWeek"` // The start time in `HH:mm:ss` format. StartTimeOfDay pulumi.StringInput `pulumi:"startTimeOfDay"` // Can be `dailyRestriction` or `weeklyRestriction` Type pulumi.StringInput `pulumi:"type"` }
func (ScheduleLayerRestrictionArgs) ElementType ¶
func (ScheduleLayerRestrictionArgs) ElementType() reflect.Type
func (ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutput ¶
func (i ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutput() ScheduleLayerRestrictionOutput
func (ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutputWithContext ¶
func (i ScheduleLayerRestrictionArgs) ToScheduleLayerRestrictionOutputWithContext(ctx context.Context) ScheduleLayerRestrictionOutput
type ScheduleLayerRestrictionArray ¶
type ScheduleLayerRestrictionArray []ScheduleLayerRestrictionInput
func (ScheduleLayerRestrictionArray) ElementType ¶
func (ScheduleLayerRestrictionArray) ElementType() reflect.Type
func (ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutput ¶
func (i ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutput() ScheduleLayerRestrictionArrayOutput
func (ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutputWithContext ¶
func (i ScheduleLayerRestrictionArray) ToScheduleLayerRestrictionArrayOutputWithContext(ctx context.Context) ScheduleLayerRestrictionArrayOutput
type ScheduleLayerRestrictionArrayInput ¶
type ScheduleLayerRestrictionArrayInput interface { pulumi.Input ToScheduleLayerRestrictionArrayOutput() ScheduleLayerRestrictionArrayOutput ToScheduleLayerRestrictionArrayOutputWithContext(context.Context) ScheduleLayerRestrictionArrayOutput }
ScheduleLayerRestrictionArrayInput is an input type that accepts ScheduleLayerRestrictionArray and ScheduleLayerRestrictionArrayOutput values. You can construct a concrete instance of `ScheduleLayerRestrictionArrayInput` via:
ScheduleLayerRestrictionArray{ ScheduleLayerRestrictionArgs{...} }
type ScheduleLayerRestrictionArrayOutput ¶
type ScheduleLayerRestrictionArrayOutput struct{ *pulumi.OutputState }
func (ScheduleLayerRestrictionArrayOutput) ElementType ¶
func (ScheduleLayerRestrictionArrayOutput) ElementType() reflect.Type
func (ScheduleLayerRestrictionArrayOutput) Index ¶
func (o ScheduleLayerRestrictionArrayOutput) Index(i pulumi.IntInput) ScheduleLayerRestrictionOutput
func (ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutput ¶
func (o ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutput() ScheduleLayerRestrictionArrayOutput
func (ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutputWithContext ¶
func (o ScheduleLayerRestrictionArrayOutput) ToScheduleLayerRestrictionArrayOutputWithContext(ctx context.Context) ScheduleLayerRestrictionArrayOutput
type ScheduleLayerRestrictionInput ¶
type ScheduleLayerRestrictionInput interface { pulumi.Input ToScheduleLayerRestrictionOutput() ScheduleLayerRestrictionOutput ToScheduleLayerRestrictionOutputWithContext(context.Context) ScheduleLayerRestrictionOutput }
ScheduleLayerRestrictionInput is an input type that accepts ScheduleLayerRestrictionArgs and ScheduleLayerRestrictionOutput values. You can construct a concrete instance of `ScheduleLayerRestrictionInput` via:
ScheduleLayerRestrictionArgs{...}
type ScheduleLayerRestrictionOutput ¶
type ScheduleLayerRestrictionOutput struct{ *pulumi.OutputState }
func (ScheduleLayerRestrictionOutput) DurationSeconds ¶
func (o ScheduleLayerRestrictionOutput) DurationSeconds() pulumi.IntOutput
The duration of the restriction in `seconds`.
func (ScheduleLayerRestrictionOutput) ElementType ¶
func (ScheduleLayerRestrictionOutput) ElementType() reflect.Type
func (ScheduleLayerRestrictionOutput) StartDayOfWeek ¶
func (o ScheduleLayerRestrictionOutput) StartDayOfWeek() pulumi.IntPtrOutput
Number of the day when restriction starts. From 1 to 7 where 1 is Monday and 7 is Sunday.
func (ScheduleLayerRestrictionOutput) StartTimeOfDay ¶
func (o ScheduleLayerRestrictionOutput) StartTimeOfDay() pulumi.StringOutput
The start time in `HH:mm:ss` format.
func (ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutput ¶
func (o ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutput() ScheduleLayerRestrictionOutput
func (ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutputWithContext ¶
func (o ScheduleLayerRestrictionOutput) ToScheduleLayerRestrictionOutputWithContext(ctx context.Context) ScheduleLayerRestrictionOutput
func (ScheduleLayerRestrictionOutput) Type ¶
func (o ScheduleLayerRestrictionOutput) Type() pulumi.StringOutput
Can be `dailyRestriction` or `weeklyRestriction`
type ScheduleMap ¶
type ScheduleMap map[string]ScheduleInput
func (ScheduleMap) ElementType ¶
func (ScheduleMap) ElementType() reflect.Type
func (ScheduleMap) ToScheduleMapOutput ¶
func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput
func (ScheduleMap) ToScheduleMapOutputWithContext ¶
func (i ScheduleMap) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput
type ScheduleMapInput ¶
type ScheduleMapInput interface { pulumi.Input ToScheduleMapOutput() ScheduleMapOutput ToScheduleMapOutputWithContext(context.Context) ScheduleMapOutput }
ScheduleMapInput is an input type that accepts ScheduleMap and ScheduleMapOutput values. You can construct a concrete instance of `ScheduleMapInput` via:
ScheduleMap{ "key": ScheduleArgs{...} }
type ScheduleMapOutput ¶
type ScheduleMapOutput struct{ *pulumi.OutputState }
func (ScheduleMapOutput) ElementType ¶
func (ScheduleMapOutput) ElementType() reflect.Type
func (ScheduleMapOutput) MapIndex ¶
func (o ScheduleMapOutput) MapIndex(k pulumi.StringInput) ScheduleOutput
func (ScheduleMapOutput) ToScheduleMapOutput ¶
func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput
func (ScheduleMapOutput) ToScheduleMapOutputWithContext ¶
func (o ScheduleMapOutput) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput
type ScheduleOutput ¶
type ScheduleOutput struct {
*pulumi.OutputState
}
func (ScheduleOutput) ElementType ¶
func (ScheduleOutput) ElementType() reflect.Type
func (ScheduleOutput) ToScheduleOutput ¶
func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput
func (ScheduleOutput) ToScheduleOutputWithContext ¶
func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
func (ScheduleOutput) ToSchedulePtrOutput ¶
func (o ScheduleOutput) ToSchedulePtrOutput() SchedulePtrOutput
func (ScheduleOutput) ToSchedulePtrOutputWithContext ¶
func (o ScheduleOutput) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput
type SchedulePtrInput ¶
type SchedulePtrInput interface { pulumi.Input ToSchedulePtrOutput() SchedulePtrOutput ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput }
type SchedulePtrOutput ¶
type SchedulePtrOutput struct {
*pulumi.OutputState
}
func (SchedulePtrOutput) ElementType ¶
func (SchedulePtrOutput) ElementType() reflect.Type
func (SchedulePtrOutput) ToSchedulePtrOutput ¶
func (o SchedulePtrOutput) ToSchedulePtrOutput() SchedulePtrOutput
func (SchedulePtrOutput) ToSchedulePtrOutputWithContext ¶
func (o SchedulePtrOutput) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput
type ScheduleState ¶
type ScheduleState struct { // The description of the schedule Description pulumi.StringPtrInput // A schedule layer block. Schedule layers documented below. Layers ScheduleLayerArrayInput // The name of the schedule. Name pulumi.StringPtrInput // Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter `overflow` is passed. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from `2011-06-01T10:00:00Z` to `2011-06-01T14:00:00Z`: // If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of `2011-06-01T10:00:00Z` and end of `2011-06-01T14:00:00Z`. // If you do pass the `overflow` parameter, you will get one schedule entry returned with a start of `2011-06-01T00:00:00Z` and end of `2011-06-02T00:00:00Z`. Overflow pulumi.BoolPtrInput // Teams associated with the schedule. Teams pulumi.StringArrayInput // The time zone of the schedule (e.g Europe/Berlin). TimeZone pulumi.StringPtrInput }
func (ScheduleState) ElementType ¶
func (ScheduleState) ElementType() reflect.Type
type Service ¶
type Service struct { pulumi.CustomResourceState // Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the `"null"` string. AcknowledgementTimeout pulumi.StringPtrOutput `pulumi:"acknowledgementTimeout"` // Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "createIncidents" is default: events will create an incident that cannot be merged. Value "createAlertsAndIncidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended. AlertCreation pulumi.StringPtrOutput `pulumi:"alertCreation"` // (Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to `time`: All alerts within a specified duration will be grouped into the same incident. This duration is set in the `alertGroupingTimeout` setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to `intelligent` - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. AlertGrouping pulumi.StringOutput `pulumi:"alertGrouping"` // Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident. AlertGroupingParameters ServiceAlertGroupingParametersOutput `pulumi:"alertGroupingParameters"` // (Deprecated) The duration in minutes within which to automatically group incoming alerts. This setting applies only when `alertGrouping` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`. AlertGroupingTimeout pulumi.IntPtrOutput `pulumi:"alertGroupingTimeout"` // Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string. AutoResolveTimeout pulumi.StringPtrOutput `pulumi:"autoResolveTimeout"` CreatedAt pulumi.StringOutput `pulumi:"createdAt"` Description pulumi.StringOutput `pulumi:"description"` // The escalation policy used by this service. EscalationPolicy pulumi.StringOutput `pulumi:"escalationPolicy"` HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"` IncidentUrgencyRule ServiceIncidentUrgencyRuleOutput `pulumi:"incidentUrgencyRule"` LastIncidentTimestamp pulumi.StringOutput `pulumi:"lastIncidentTimestamp"` // The name of the service. Name pulumi.StringOutput `pulumi:"name"` ScheduledActions ServiceScheduledActionArrayOutput `pulumi:"scheduledActions"` Status pulumi.StringOutput `pulumi:"status"` SupportHours ServiceSupportHoursPtrOutput `pulumi:"supportHours"` }
A [service](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1services/get) represents something you monitor (like a web service, email service, or database service). It is a container for related incidents that associates them with escalation policies.
## Import
Services can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/service:Service main PLBP09X
```
func GetService ¶
func GetService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)
GetService gets an existing Service 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 NewService ¶
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
func (*Service) ElementType ¶
func (*Service) ToServiceOutput ¶
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (*Service) ToServicePtrOutput ¶
func (i *Service) ToServicePtrOutput() ServicePtrOutput
func (*Service) ToServicePtrOutputWithContext ¶
func (i *Service) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
type ServiceAlertGroupingParameters ¶ added in v2.1.0
type ServiceAlertGroupingParameters struct { // Alert grouping parameters dependant on `type`. If `type` is set to `intelligent` or empty then `config` can be empty. Config *ServiceAlertGroupingParametersConfig `pulumi:"config"` // The type of scheduled action. Currently, this must be set to `urgencyChange`. Type *string `pulumi:"type"` }
type ServiceAlertGroupingParametersArgs ¶ added in v2.1.0
type ServiceAlertGroupingParametersArgs struct { // Alert grouping parameters dependant on `type`. If `type` is set to `intelligent` or empty then `config` can be empty. Config ServiceAlertGroupingParametersConfigPtrInput `pulumi:"config"` // The type of scheduled action. Currently, this must be set to `urgencyChange`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (ServiceAlertGroupingParametersArgs) ElementType ¶ added in v2.1.0
func (ServiceAlertGroupingParametersArgs) ElementType() reflect.Type
func (ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutput ¶ added in v2.1.0
func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutput() ServiceAlertGroupingParametersOutput
func (ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutputWithContext ¶ added in v2.1.0
func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersOutput
func (ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutput ¶ added in v2.1.0
func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput
func (ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutputWithContext ¶ added in v2.1.0
func (i ServiceAlertGroupingParametersArgs) ToServiceAlertGroupingParametersPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersPtrOutput
type ServiceAlertGroupingParametersConfig ¶ added in v2.1.0
type ServiceAlertGroupingParametersConfig struct { // One of `any` or `all`. This setting applies only when `type` is set to `contentBased`. Group alerts based on one or all of `fields` value(s). Aggregate *string `pulumi:"aggregate"` // Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`. Fields []string `pulumi:"fields"` // The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`. Timeout *int `pulumi:"timeout"` }
type ServiceAlertGroupingParametersConfigArgs ¶ added in v2.1.0
type ServiceAlertGroupingParametersConfigArgs struct { // One of `any` or `all`. This setting applies only when `type` is set to `contentBased`. Group alerts based on one or all of `fields` value(s). Aggregate pulumi.StringPtrInput `pulumi:"aggregate"` // Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`. Fields pulumi.StringArrayInput `pulumi:"fields"` // The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`. Timeout pulumi.IntPtrInput `pulumi:"timeout"` }
func (ServiceAlertGroupingParametersConfigArgs) ElementType ¶ added in v2.1.0
func (ServiceAlertGroupingParametersConfigArgs) ElementType() reflect.Type
func (ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutput ¶ added in v2.1.0
func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutput() ServiceAlertGroupingParametersConfigOutput
func (ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutputWithContext ¶ added in v2.1.0
func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigOutput
func (ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutput ¶ added in v2.1.0
func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput
func (ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutputWithContext ¶ added in v2.1.0
func (i ServiceAlertGroupingParametersConfigArgs) ToServiceAlertGroupingParametersConfigPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigPtrOutput
type ServiceAlertGroupingParametersConfigInput ¶ added in v2.1.0
type ServiceAlertGroupingParametersConfigInput interface { pulumi.Input ToServiceAlertGroupingParametersConfigOutput() ServiceAlertGroupingParametersConfigOutput ToServiceAlertGroupingParametersConfigOutputWithContext(context.Context) ServiceAlertGroupingParametersConfigOutput }
ServiceAlertGroupingParametersConfigInput is an input type that accepts ServiceAlertGroupingParametersConfigArgs and ServiceAlertGroupingParametersConfigOutput values. You can construct a concrete instance of `ServiceAlertGroupingParametersConfigInput` via:
ServiceAlertGroupingParametersConfigArgs{...}
type ServiceAlertGroupingParametersConfigOutput ¶ added in v2.1.0
type ServiceAlertGroupingParametersConfigOutput struct{ *pulumi.OutputState }
func (ServiceAlertGroupingParametersConfigOutput) Aggregate ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigOutput) Aggregate() pulumi.StringPtrOutput
One of `any` or `all`. This setting applies only when `type` is set to `contentBased`. Group alerts based on one or all of `fields` value(s).
func (ServiceAlertGroupingParametersConfigOutput) ElementType ¶ added in v2.1.0
func (ServiceAlertGroupingParametersConfigOutput) ElementType() reflect.Type
func (ServiceAlertGroupingParametersConfigOutput) Fields ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigOutput) Fields() pulumi.StringArrayOutput
Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`.
func (ServiceAlertGroupingParametersConfigOutput) Timeout ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigOutput) Timeout() pulumi.IntPtrOutput
The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`.
func (ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutput ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutput() ServiceAlertGroupingParametersConfigOutput
func (ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutputWithContext ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigOutput
func (ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutput ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput
func (ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigPtrOutput
type ServiceAlertGroupingParametersConfigPtrInput ¶ added in v2.1.0
type ServiceAlertGroupingParametersConfigPtrInput interface { pulumi.Input ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput ToServiceAlertGroupingParametersConfigPtrOutputWithContext(context.Context) ServiceAlertGroupingParametersConfigPtrOutput }
ServiceAlertGroupingParametersConfigPtrInput is an input type that accepts ServiceAlertGroupingParametersConfigArgs, ServiceAlertGroupingParametersConfigPtr and ServiceAlertGroupingParametersConfigPtrOutput values. You can construct a concrete instance of `ServiceAlertGroupingParametersConfigPtrInput` via:
ServiceAlertGroupingParametersConfigArgs{...} or: nil
func ServiceAlertGroupingParametersConfigPtr ¶ added in v2.1.0
func ServiceAlertGroupingParametersConfigPtr(v *ServiceAlertGroupingParametersConfigArgs) ServiceAlertGroupingParametersConfigPtrInput
type ServiceAlertGroupingParametersConfigPtrOutput ¶ added in v2.1.0
type ServiceAlertGroupingParametersConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceAlertGroupingParametersConfigPtrOutput) Aggregate ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigPtrOutput) Aggregate() pulumi.StringPtrOutput
One of `any` or `all`. This setting applies only when `type` is set to `contentBased`. Group alerts based on one or all of `fields` value(s).
func (ServiceAlertGroupingParametersConfigPtrOutput) ElementType ¶ added in v2.1.0
func (ServiceAlertGroupingParametersConfigPtrOutput) ElementType() reflect.Type
func (ServiceAlertGroupingParametersConfigPtrOutput) Fields ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigPtrOutput) Fields() pulumi.StringArrayOutput
Alerts will be grouped together if the content of these fields match. This setting applies only when `type` is set to `contentBased`.
func (ServiceAlertGroupingParametersConfigPtrOutput) Timeout ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigPtrOutput) Timeout() pulumi.IntPtrOutput
The duration in minutes within which to automatically group incoming alerts. This setting applies only when `type` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`.
func (ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutput ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutput() ServiceAlertGroupingParametersConfigPtrOutput
func (ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersConfigPtrOutput) ToServiceAlertGroupingParametersConfigPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersConfigPtrOutput
type ServiceAlertGroupingParametersInput ¶ added in v2.1.0
type ServiceAlertGroupingParametersInput interface { pulumi.Input ToServiceAlertGroupingParametersOutput() ServiceAlertGroupingParametersOutput ToServiceAlertGroupingParametersOutputWithContext(context.Context) ServiceAlertGroupingParametersOutput }
ServiceAlertGroupingParametersInput is an input type that accepts ServiceAlertGroupingParametersArgs and ServiceAlertGroupingParametersOutput values. You can construct a concrete instance of `ServiceAlertGroupingParametersInput` via:
ServiceAlertGroupingParametersArgs{...}
type ServiceAlertGroupingParametersOutput ¶ added in v2.1.0
type ServiceAlertGroupingParametersOutput struct{ *pulumi.OutputState }
func (ServiceAlertGroupingParametersOutput) Config ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersOutput) Config() ServiceAlertGroupingParametersConfigPtrOutput
Alert grouping parameters dependant on `type`. If `type` is set to `intelligent` or empty then `config` can be empty.
func (ServiceAlertGroupingParametersOutput) ElementType ¶ added in v2.1.0
func (ServiceAlertGroupingParametersOutput) ElementType() reflect.Type
func (ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutput ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutput() ServiceAlertGroupingParametersOutput
func (ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutputWithContext ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersOutput
func (ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutput ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput
func (ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutputWithContext ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersOutput) ToServiceAlertGroupingParametersPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersPtrOutput
func (ServiceAlertGroupingParametersOutput) Type ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersOutput) Type() pulumi.StringPtrOutput
The type of scheduled action. Currently, this must be set to `urgencyChange`.
type ServiceAlertGroupingParametersPtrInput ¶ added in v2.1.0
type ServiceAlertGroupingParametersPtrInput interface { pulumi.Input ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput ToServiceAlertGroupingParametersPtrOutputWithContext(context.Context) ServiceAlertGroupingParametersPtrOutput }
ServiceAlertGroupingParametersPtrInput is an input type that accepts ServiceAlertGroupingParametersArgs, ServiceAlertGroupingParametersPtr and ServiceAlertGroupingParametersPtrOutput values. You can construct a concrete instance of `ServiceAlertGroupingParametersPtrInput` via:
ServiceAlertGroupingParametersArgs{...} or: nil
func ServiceAlertGroupingParametersPtr ¶ added in v2.1.0
func ServiceAlertGroupingParametersPtr(v *ServiceAlertGroupingParametersArgs) ServiceAlertGroupingParametersPtrInput
type ServiceAlertGroupingParametersPtrOutput ¶ added in v2.1.0
type ServiceAlertGroupingParametersPtrOutput struct{ *pulumi.OutputState }
func (ServiceAlertGroupingParametersPtrOutput) Config ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersPtrOutput) Config() ServiceAlertGroupingParametersConfigPtrOutput
Alert grouping parameters dependant on `type`. If `type` is set to `intelligent` or empty then `config` can be empty.
func (ServiceAlertGroupingParametersPtrOutput) ElementType ¶ added in v2.1.0
func (ServiceAlertGroupingParametersPtrOutput) ElementType() reflect.Type
func (ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutput ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutput() ServiceAlertGroupingParametersPtrOutput
func (ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutputWithContext ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersPtrOutput) ToServiceAlertGroupingParametersPtrOutputWithContext(ctx context.Context) ServiceAlertGroupingParametersPtrOutput
func (ServiceAlertGroupingParametersPtrOutput) Type ¶ added in v2.1.0
func (o ServiceAlertGroupingParametersPtrOutput) Type() pulumi.StringPtrOutput
The type of scheduled action. Currently, this must be set to `urgencyChange`.
type ServiceArgs ¶
type ServiceArgs struct { // Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the `"null"` string. AcknowledgementTimeout pulumi.StringPtrInput // Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "createIncidents" is default: events will create an incident that cannot be merged. Value "createAlertsAndIncidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended. AlertCreation pulumi.StringPtrInput // (Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to `time`: All alerts within a specified duration will be grouped into the same incident. This duration is set in the `alertGroupingTimeout` setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to `intelligent` - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. AlertGrouping pulumi.StringPtrInput // Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident. AlertGroupingParameters ServiceAlertGroupingParametersPtrInput // (Deprecated) The duration in minutes within which to automatically group incoming alerts. This setting applies only when `alertGrouping` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`. AlertGroupingTimeout pulumi.IntPtrInput // Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string. AutoResolveTimeout pulumi.StringPtrInput Description pulumi.StringPtrInput // The escalation policy used by this service. EscalationPolicy pulumi.StringInput IncidentUrgencyRule ServiceIncidentUrgencyRulePtrInput // The name of the service. Name pulumi.StringPtrInput ScheduledActions ServiceScheduledActionArrayInput SupportHours ServiceSupportHoursPtrInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceArray ¶
type ServiceArray []ServiceInput
func (ServiceArray) ElementType ¶
func (ServiceArray) ElementType() reflect.Type
func (ServiceArray) ToServiceArrayOutput ¶
func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArray) ToServiceArrayOutputWithContext ¶
func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceArrayInput ¶
type ServiceArrayInput interface { pulumi.Input ToServiceArrayOutput() ServiceArrayOutput ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput }
ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:
ServiceArray{ ServiceArgs{...} }
type ServiceArrayOutput ¶
type ServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceArrayOutput) ElementType ¶
func (ServiceArrayOutput) ElementType() reflect.Type
func (ServiceArrayOutput) Index ¶
func (o ServiceArrayOutput) Index(i pulumi.IntInput) ServiceOutput
func (ServiceArrayOutput) ToServiceArrayOutput ¶
func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArrayOutput) ToServiceArrayOutputWithContext ¶
func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceDependency ¶
type ServiceDependency struct { pulumi.CustomResourceState // The relationship between the `supportingService` and `dependentService`. Dependencies ServiceDependencyDependencyArrayOutput `pulumi:"dependencies"` }
A [service dependency](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1service_dependencies~1associate/post) is a relationship between two services that this service uses, or that are used by this service, and are critical for successful operation.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.NewServiceDependency(ctx, "foo", &pagerduty.ServiceDependencyArgs{ Dependencies: pagerduty.ServiceDependencyDependencyArray{ &pagerduty.ServiceDependencyDependencyArgs{ DependentServices: pagerduty.ServiceDependencyDependencyDependentServiceArray{ &pagerduty.ServiceDependencyDependencyDependentServiceArgs{ Id: pulumi.Any(pagerduty_business_service.Foo.Id), Type: pulumi.String("business_service"), }, }, SupportingServices: pagerduty.ServiceDependencyDependencySupportingServiceArray{ &pagerduty.ServiceDependencyDependencySupportingServiceArgs{ Id: pulumi.Any(pagerduty_service.Foo.Id), Type: pulumi.String("service"), }, }, }, }, }) if err != nil { return err } _, err = pagerduty.NewServiceDependency(ctx, "bar", &pagerduty.ServiceDependencyArgs{ Dependencies: pagerduty.ServiceDependencyDependencyArray{ &pagerduty.ServiceDependencyDependencyArgs{ DependentServices: pagerduty.ServiceDependencyDependencyDependentServiceArray{ &pagerduty.ServiceDependencyDependencyDependentServiceArgs{ Id: pulumi.Any(pagerduty_business_service.Foo.Id), Type: pulumi.String("business_service"), }, }, SupportingServices: pagerduty.ServiceDependencyDependencySupportingServiceArray{ &pagerduty.ServiceDependencyDependencySupportingServiceArgs{ Id: pulumi.Any(pagerduty_service.Two.Id), Type: pulumi.String("service"), }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Service dependencies can be imported using the related supporting service id, supporting service type (`business_service` or `service`) and the dependency id separated by a dot, e.g.
```sh
$ pulumi import pagerduty:index/serviceDependency:ServiceDependency main P4B2Z7G.business_service.D5RTHKRNGU4PYE90PJ
```
func GetServiceDependency ¶
func GetServiceDependency(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceDependencyState, opts ...pulumi.ResourceOption) (*ServiceDependency, error)
GetServiceDependency gets an existing ServiceDependency 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 NewServiceDependency ¶
func NewServiceDependency(ctx *pulumi.Context, name string, args *ServiceDependencyArgs, opts ...pulumi.ResourceOption) (*ServiceDependency, error)
NewServiceDependency registers a new resource with the given unique name, arguments, and options.
func (*ServiceDependency) ElementType ¶
func (*ServiceDependency) ElementType() reflect.Type
func (*ServiceDependency) ToServiceDependencyOutput ¶
func (i *ServiceDependency) ToServiceDependencyOutput() ServiceDependencyOutput
func (*ServiceDependency) ToServiceDependencyOutputWithContext ¶
func (i *ServiceDependency) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput
func (*ServiceDependency) ToServiceDependencyPtrOutput ¶
func (i *ServiceDependency) ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput
func (*ServiceDependency) ToServiceDependencyPtrOutputWithContext ¶
func (i *ServiceDependency) ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput
type ServiceDependencyArgs ¶
type ServiceDependencyArgs struct { // The relationship between the `supportingService` and `dependentService`. Dependencies ServiceDependencyDependencyArrayInput }
The set of arguments for constructing a ServiceDependency resource.
func (ServiceDependencyArgs) ElementType ¶
func (ServiceDependencyArgs) ElementType() reflect.Type
type ServiceDependencyArray ¶
type ServiceDependencyArray []ServiceDependencyInput
func (ServiceDependencyArray) ElementType ¶
func (ServiceDependencyArray) ElementType() reflect.Type
func (ServiceDependencyArray) ToServiceDependencyArrayOutput ¶
func (i ServiceDependencyArray) ToServiceDependencyArrayOutput() ServiceDependencyArrayOutput
func (ServiceDependencyArray) ToServiceDependencyArrayOutputWithContext ¶
func (i ServiceDependencyArray) ToServiceDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyArrayOutput
type ServiceDependencyArrayInput ¶
type ServiceDependencyArrayInput interface { pulumi.Input ToServiceDependencyArrayOutput() ServiceDependencyArrayOutput ToServiceDependencyArrayOutputWithContext(context.Context) ServiceDependencyArrayOutput }
ServiceDependencyArrayInput is an input type that accepts ServiceDependencyArray and ServiceDependencyArrayOutput values. You can construct a concrete instance of `ServiceDependencyArrayInput` via:
ServiceDependencyArray{ ServiceDependencyArgs{...} }
type ServiceDependencyArrayOutput ¶
type ServiceDependencyArrayOutput struct{ *pulumi.OutputState }
func (ServiceDependencyArrayOutput) ElementType ¶
func (ServiceDependencyArrayOutput) ElementType() reflect.Type
func (ServiceDependencyArrayOutput) Index ¶
func (o ServiceDependencyArrayOutput) Index(i pulumi.IntInput) ServiceDependencyOutput
func (ServiceDependencyArrayOutput) ToServiceDependencyArrayOutput ¶
func (o ServiceDependencyArrayOutput) ToServiceDependencyArrayOutput() ServiceDependencyArrayOutput
func (ServiceDependencyArrayOutput) ToServiceDependencyArrayOutputWithContext ¶
func (o ServiceDependencyArrayOutput) ToServiceDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyArrayOutput
type ServiceDependencyDependency ¶
type ServiceDependencyDependency struct { // The service that id dependent on the supporting service. DependentServices []ServiceDependencyDependencyDependentService `pulumi:"dependentServices"` // The service that supports the dependent service. SupportingServices []ServiceDependencyDependencySupportingService `pulumi:"supportingServices"` Type *string `pulumi:"type"` }
type ServiceDependencyDependencyArgs ¶
type ServiceDependencyDependencyArgs struct { // The service that id dependent on the supporting service. DependentServices ServiceDependencyDependencyDependentServiceArrayInput `pulumi:"dependentServices"` // The service that supports the dependent service. SupportingServices ServiceDependencyDependencySupportingServiceArrayInput `pulumi:"supportingServices"` Type pulumi.StringPtrInput `pulumi:"type"` }
func (ServiceDependencyDependencyArgs) ElementType ¶
func (ServiceDependencyDependencyArgs) ElementType() reflect.Type
func (ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutput ¶
func (i ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutput() ServiceDependencyDependencyOutput
func (ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutputWithContext ¶
func (i ServiceDependencyDependencyArgs) ToServiceDependencyDependencyOutputWithContext(ctx context.Context) ServiceDependencyDependencyOutput
type ServiceDependencyDependencyArray ¶
type ServiceDependencyDependencyArray []ServiceDependencyDependencyInput
func (ServiceDependencyDependencyArray) ElementType ¶
func (ServiceDependencyDependencyArray) ElementType() reflect.Type
func (ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutput ¶
func (i ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutput() ServiceDependencyDependencyArrayOutput
func (ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutputWithContext ¶
func (i ServiceDependencyDependencyArray) ToServiceDependencyDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyArrayOutput
type ServiceDependencyDependencyArrayInput ¶
type ServiceDependencyDependencyArrayInput interface { pulumi.Input ToServiceDependencyDependencyArrayOutput() ServiceDependencyDependencyArrayOutput ToServiceDependencyDependencyArrayOutputWithContext(context.Context) ServiceDependencyDependencyArrayOutput }
ServiceDependencyDependencyArrayInput is an input type that accepts ServiceDependencyDependencyArray and ServiceDependencyDependencyArrayOutput values. You can construct a concrete instance of `ServiceDependencyDependencyArrayInput` via:
ServiceDependencyDependencyArray{ ServiceDependencyDependencyArgs{...} }
type ServiceDependencyDependencyArrayOutput ¶
type ServiceDependencyDependencyArrayOutput struct{ *pulumi.OutputState }
func (ServiceDependencyDependencyArrayOutput) ElementType ¶
func (ServiceDependencyDependencyArrayOutput) ElementType() reflect.Type
func (ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutput ¶
func (o ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutput() ServiceDependencyDependencyArrayOutput
func (ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutputWithContext ¶
func (o ServiceDependencyDependencyArrayOutput) ToServiceDependencyDependencyArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyArrayOutput
type ServiceDependencyDependencyDependentServiceArgs ¶
type ServiceDependencyDependencyDependentServiceArgs struct { // The ID of the service dependency. Id pulumi.StringInput `pulumi:"id"` Type pulumi.StringInput `pulumi:"type"` }
func (ServiceDependencyDependencyDependentServiceArgs) ElementType ¶
func (ServiceDependencyDependencyDependentServiceArgs) ElementType() reflect.Type
func (ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutput ¶
func (i ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutput() ServiceDependencyDependencyDependentServiceOutput
func (ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutputWithContext ¶
func (i ServiceDependencyDependencyDependentServiceArgs) ToServiceDependencyDependencyDependentServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceOutput
type ServiceDependencyDependencyDependentServiceArray ¶
type ServiceDependencyDependencyDependentServiceArray []ServiceDependencyDependencyDependentServiceInput
func (ServiceDependencyDependencyDependentServiceArray) ElementType ¶
func (ServiceDependencyDependencyDependentServiceArray) ElementType() reflect.Type
func (ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutput ¶
func (i ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutput() ServiceDependencyDependencyDependentServiceArrayOutput
func (ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext ¶
func (i ServiceDependencyDependencyDependentServiceArray) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceArrayOutput
type ServiceDependencyDependencyDependentServiceArrayInput ¶
type ServiceDependencyDependencyDependentServiceArrayInput interface { pulumi.Input ToServiceDependencyDependencyDependentServiceArrayOutput() ServiceDependencyDependencyDependentServiceArrayOutput ToServiceDependencyDependencyDependentServiceArrayOutputWithContext(context.Context) ServiceDependencyDependencyDependentServiceArrayOutput }
ServiceDependencyDependencyDependentServiceArrayInput is an input type that accepts ServiceDependencyDependencyDependentServiceArray and ServiceDependencyDependencyDependentServiceArrayOutput values. You can construct a concrete instance of `ServiceDependencyDependencyDependentServiceArrayInput` via:
ServiceDependencyDependencyDependentServiceArray{ ServiceDependencyDependencyDependentServiceArgs{...} }
type ServiceDependencyDependencyDependentServiceArrayOutput ¶
type ServiceDependencyDependencyDependentServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceDependencyDependencyDependentServiceArrayOutput) ElementType ¶
func (ServiceDependencyDependencyDependentServiceArrayOutput) ElementType() reflect.Type
func (ServiceDependencyDependencyDependentServiceArrayOutput) ToServiceDependencyDependencyDependentServiceArrayOutput ¶
func (o ServiceDependencyDependencyDependentServiceArrayOutput) ToServiceDependencyDependencyDependentServiceArrayOutput() ServiceDependencyDependencyDependentServiceArrayOutput
func (ServiceDependencyDependencyDependentServiceArrayOutput) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext ¶
func (o ServiceDependencyDependencyDependentServiceArrayOutput) ToServiceDependencyDependencyDependentServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceArrayOutput
type ServiceDependencyDependencyDependentServiceInput ¶
type ServiceDependencyDependencyDependentServiceInput interface { pulumi.Input ToServiceDependencyDependencyDependentServiceOutput() ServiceDependencyDependencyDependentServiceOutput ToServiceDependencyDependencyDependentServiceOutputWithContext(context.Context) ServiceDependencyDependencyDependentServiceOutput }
ServiceDependencyDependencyDependentServiceInput is an input type that accepts ServiceDependencyDependencyDependentServiceArgs and ServiceDependencyDependencyDependentServiceOutput values. You can construct a concrete instance of `ServiceDependencyDependencyDependentServiceInput` via:
ServiceDependencyDependencyDependentServiceArgs{...}
type ServiceDependencyDependencyDependentServiceOutput ¶
type ServiceDependencyDependencyDependentServiceOutput struct{ *pulumi.OutputState }
func (ServiceDependencyDependencyDependentServiceOutput) ElementType ¶
func (ServiceDependencyDependencyDependentServiceOutput) ElementType() reflect.Type
func (ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutput ¶
func (o ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutput() ServiceDependencyDependencyDependentServiceOutput
func (ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutputWithContext ¶
func (o ServiceDependencyDependencyDependentServiceOutput) ToServiceDependencyDependencyDependentServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencyDependentServiceOutput
func (ServiceDependencyDependencyDependentServiceOutput) Type ¶
func (o ServiceDependencyDependencyDependentServiceOutput) Type() pulumi.StringOutput
type ServiceDependencyDependencyInput ¶
type ServiceDependencyDependencyInput interface { pulumi.Input ToServiceDependencyDependencyOutput() ServiceDependencyDependencyOutput ToServiceDependencyDependencyOutputWithContext(context.Context) ServiceDependencyDependencyOutput }
ServiceDependencyDependencyInput is an input type that accepts ServiceDependencyDependencyArgs and ServiceDependencyDependencyOutput values. You can construct a concrete instance of `ServiceDependencyDependencyInput` via:
ServiceDependencyDependencyArgs{...}
type ServiceDependencyDependencyOutput ¶
type ServiceDependencyDependencyOutput struct{ *pulumi.OutputState }
func (ServiceDependencyDependencyOutput) DependentServices ¶
func (o ServiceDependencyDependencyOutput) DependentServices() ServiceDependencyDependencyDependentServiceArrayOutput
The service that id dependent on the supporting service.
func (ServiceDependencyDependencyOutput) ElementType ¶
func (ServiceDependencyDependencyOutput) ElementType() reflect.Type
func (ServiceDependencyDependencyOutput) SupportingServices ¶
func (o ServiceDependencyDependencyOutput) SupportingServices() ServiceDependencyDependencySupportingServiceArrayOutput
The service that supports the dependent service.
func (ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutput ¶
func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutput() ServiceDependencyDependencyOutput
func (ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutputWithContext ¶
func (o ServiceDependencyDependencyOutput) ToServiceDependencyDependencyOutputWithContext(ctx context.Context) ServiceDependencyDependencyOutput
func (ServiceDependencyDependencyOutput) Type ¶
func (o ServiceDependencyDependencyOutput) Type() pulumi.StringPtrOutput
type ServiceDependencyDependencySupportingServiceArgs ¶
type ServiceDependencyDependencySupportingServiceArgs struct { // The ID of the service dependency. Id pulumi.StringInput `pulumi:"id"` Type pulumi.StringInput `pulumi:"type"` }
func (ServiceDependencyDependencySupportingServiceArgs) ElementType ¶
func (ServiceDependencyDependencySupportingServiceArgs) ElementType() reflect.Type
func (ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutput ¶
func (i ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutput() ServiceDependencyDependencySupportingServiceOutput
func (ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutputWithContext ¶
func (i ServiceDependencyDependencySupportingServiceArgs) ToServiceDependencyDependencySupportingServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceOutput
type ServiceDependencyDependencySupportingServiceArray ¶
type ServiceDependencyDependencySupportingServiceArray []ServiceDependencyDependencySupportingServiceInput
func (ServiceDependencyDependencySupportingServiceArray) ElementType ¶
func (ServiceDependencyDependencySupportingServiceArray) ElementType() reflect.Type
func (ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutput ¶
func (i ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutput() ServiceDependencyDependencySupportingServiceArrayOutput
func (ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext ¶
func (i ServiceDependencyDependencySupportingServiceArray) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceArrayOutput
type ServiceDependencyDependencySupportingServiceArrayInput ¶
type ServiceDependencyDependencySupportingServiceArrayInput interface { pulumi.Input ToServiceDependencyDependencySupportingServiceArrayOutput() ServiceDependencyDependencySupportingServiceArrayOutput ToServiceDependencyDependencySupportingServiceArrayOutputWithContext(context.Context) ServiceDependencyDependencySupportingServiceArrayOutput }
ServiceDependencyDependencySupportingServiceArrayInput is an input type that accepts ServiceDependencyDependencySupportingServiceArray and ServiceDependencyDependencySupportingServiceArrayOutput values. You can construct a concrete instance of `ServiceDependencyDependencySupportingServiceArrayInput` via:
ServiceDependencyDependencySupportingServiceArray{ ServiceDependencyDependencySupportingServiceArgs{...} }
type ServiceDependencyDependencySupportingServiceArrayOutput ¶
type ServiceDependencyDependencySupportingServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceDependencyDependencySupportingServiceArrayOutput) ElementType ¶
func (ServiceDependencyDependencySupportingServiceArrayOutput) ElementType() reflect.Type
func (ServiceDependencyDependencySupportingServiceArrayOutput) ToServiceDependencyDependencySupportingServiceArrayOutput ¶
func (o ServiceDependencyDependencySupportingServiceArrayOutput) ToServiceDependencyDependencySupportingServiceArrayOutput() ServiceDependencyDependencySupportingServiceArrayOutput
func (ServiceDependencyDependencySupportingServiceArrayOutput) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext ¶
func (o ServiceDependencyDependencySupportingServiceArrayOutput) ToServiceDependencyDependencySupportingServiceArrayOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceArrayOutput
type ServiceDependencyDependencySupportingServiceInput ¶
type ServiceDependencyDependencySupportingServiceInput interface { pulumi.Input ToServiceDependencyDependencySupportingServiceOutput() ServiceDependencyDependencySupportingServiceOutput ToServiceDependencyDependencySupportingServiceOutputWithContext(context.Context) ServiceDependencyDependencySupportingServiceOutput }
ServiceDependencyDependencySupportingServiceInput is an input type that accepts ServiceDependencyDependencySupportingServiceArgs and ServiceDependencyDependencySupportingServiceOutput values. You can construct a concrete instance of `ServiceDependencyDependencySupportingServiceInput` via:
ServiceDependencyDependencySupportingServiceArgs{...}
type ServiceDependencyDependencySupportingServiceOutput ¶
type ServiceDependencyDependencySupportingServiceOutput struct{ *pulumi.OutputState }
func (ServiceDependencyDependencySupportingServiceOutput) ElementType ¶
func (ServiceDependencyDependencySupportingServiceOutput) ElementType() reflect.Type
func (ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutput ¶
func (o ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutput() ServiceDependencyDependencySupportingServiceOutput
func (ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutputWithContext ¶
func (o ServiceDependencyDependencySupportingServiceOutput) ToServiceDependencyDependencySupportingServiceOutputWithContext(ctx context.Context) ServiceDependencyDependencySupportingServiceOutput
func (ServiceDependencyDependencySupportingServiceOutput) Type ¶
func (o ServiceDependencyDependencySupportingServiceOutput) Type() pulumi.StringOutput
type ServiceDependencyInput ¶
type ServiceDependencyInput interface { pulumi.Input ToServiceDependencyOutput() ServiceDependencyOutput ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput }
type ServiceDependencyMap ¶
type ServiceDependencyMap map[string]ServiceDependencyInput
func (ServiceDependencyMap) ElementType ¶
func (ServiceDependencyMap) ElementType() reflect.Type
func (ServiceDependencyMap) ToServiceDependencyMapOutput ¶
func (i ServiceDependencyMap) ToServiceDependencyMapOutput() ServiceDependencyMapOutput
func (ServiceDependencyMap) ToServiceDependencyMapOutputWithContext ¶
func (i ServiceDependencyMap) ToServiceDependencyMapOutputWithContext(ctx context.Context) ServiceDependencyMapOutput
type ServiceDependencyMapInput ¶
type ServiceDependencyMapInput interface { pulumi.Input ToServiceDependencyMapOutput() ServiceDependencyMapOutput ToServiceDependencyMapOutputWithContext(context.Context) ServiceDependencyMapOutput }
ServiceDependencyMapInput is an input type that accepts ServiceDependencyMap and ServiceDependencyMapOutput values. You can construct a concrete instance of `ServiceDependencyMapInput` via:
ServiceDependencyMap{ "key": ServiceDependencyArgs{...} }
type ServiceDependencyMapOutput ¶
type ServiceDependencyMapOutput struct{ *pulumi.OutputState }
func (ServiceDependencyMapOutput) ElementType ¶
func (ServiceDependencyMapOutput) ElementType() reflect.Type
func (ServiceDependencyMapOutput) MapIndex ¶
func (o ServiceDependencyMapOutput) MapIndex(k pulumi.StringInput) ServiceDependencyOutput
func (ServiceDependencyMapOutput) ToServiceDependencyMapOutput ¶
func (o ServiceDependencyMapOutput) ToServiceDependencyMapOutput() ServiceDependencyMapOutput
func (ServiceDependencyMapOutput) ToServiceDependencyMapOutputWithContext ¶
func (o ServiceDependencyMapOutput) ToServiceDependencyMapOutputWithContext(ctx context.Context) ServiceDependencyMapOutput
type ServiceDependencyOutput ¶
type ServiceDependencyOutput struct {
*pulumi.OutputState
}
func (ServiceDependencyOutput) ElementType ¶
func (ServiceDependencyOutput) ElementType() reflect.Type
func (ServiceDependencyOutput) ToServiceDependencyOutput ¶
func (o ServiceDependencyOutput) ToServiceDependencyOutput() ServiceDependencyOutput
func (ServiceDependencyOutput) ToServiceDependencyOutputWithContext ¶
func (o ServiceDependencyOutput) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput
func (ServiceDependencyOutput) ToServiceDependencyPtrOutput ¶
func (o ServiceDependencyOutput) ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput
func (ServiceDependencyOutput) ToServiceDependencyPtrOutputWithContext ¶
func (o ServiceDependencyOutput) ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput
type ServiceDependencyPtrInput ¶
type ServiceDependencyPtrInput interface { pulumi.Input ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput }
type ServiceDependencyPtrOutput ¶
type ServiceDependencyPtrOutput struct {
*pulumi.OutputState
}
func (ServiceDependencyPtrOutput) ElementType ¶
func (ServiceDependencyPtrOutput) ElementType() reflect.Type
func (ServiceDependencyPtrOutput) ToServiceDependencyPtrOutput ¶
func (o ServiceDependencyPtrOutput) ToServiceDependencyPtrOutput() ServiceDependencyPtrOutput
func (ServiceDependencyPtrOutput) ToServiceDependencyPtrOutputWithContext ¶
func (o ServiceDependencyPtrOutput) ToServiceDependencyPtrOutputWithContext(ctx context.Context) ServiceDependencyPtrOutput
type ServiceDependencyState ¶
type ServiceDependencyState struct { // The relationship between the `supportingService` and `dependentService`. Dependencies ServiceDependencyDependencyArrayInput }
func (ServiceDependencyState) ElementType ¶
func (ServiceDependencyState) ElementType() reflect.Type
type ServiceEventRule ¶
type ServiceEventRule struct { pulumi.CustomResourceState // Actions to apply to an event if the conditions match. Actions ServiceEventRuleActionsPtrOutput `pulumi:"actions"` // Conditions evaluated to check if an event matches this event rule. Conditions ServiceEventRuleConditionsPtrOutput `pulumi:"conditions"` // Indicates whether the rule is disabled and would therefore not be evaluated. Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Position/index of the rule within the service. Position pulumi.IntPtrOutput `pulumi:"position"` // The ID of the service that the rule belongs to. Service pulumi.StringOutput `pulumi:"service"` // Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules). TimeFrame ServiceEventRuleTimeFramePtrOutput `pulumi:"timeFrame"` // Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.* Variables ServiceEventRuleVariableArrayOutput `pulumi:"variables"` }
A [service event rule](https://support.pagerduty.com/docs/rulesets#service-event-rules) allows you to set actions that should be taken on events for a service that meet the designated rule criteria.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := pagerduty.NewService(ctx, "example", &pagerduty.ServiceArgs{ AutoResolveTimeout: pulumi.String("14400"), AcknowledgementTimeout: pulumi.String("600"), EscalationPolicy: pulumi.Any(pagerduty_escalation_policy.Example.Id), AlertCreation: pulumi.String("create_alerts_and_incidents"), }) if err != nil { return err } _, err = pagerduty.NewServiceEventRule(ctx, "foo", &pagerduty.ServiceEventRuleArgs{ Service: example.ID(), Position: pulumi.Int(0), Disabled: pulumi.Bool(true), Conditions: &pagerduty.ServiceEventRuleConditionsArgs{ Operator: pulumi.String("and"), Subconditions: pagerduty.ServiceEventRuleConditionsSubconditionArray{ &pagerduty.ServiceEventRuleConditionsSubconditionArgs{ Operator: pulumi.String("contains"), Parameters: pagerduty.ServiceEventRuleConditionsSubconditionParameterArray{ &pagerduty.ServiceEventRuleConditionsSubconditionParameterArgs{ Value: pulumi.String("disk space"), Path: pulumi.String("summary"), }, }, }, }, }, Variables: pagerduty.ServiceEventRuleVariableArray{ &pagerduty.ServiceEventRuleVariableArgs{ Type: pulumi.String("regex"), Name: pulumi.String("Src"), Parameters: pagerduty.ServiceEventRuleVariableParameterArray{ &pagerduty.ServiceEventRuleVariableParameterArgs{ Value: pulumi.String("(.*)"), Path: pulumi.String("source"), }, }, }, }, Actions: &pagerduty.ServiceEventRuleActionsArgs{ Annotates: pagerduty.ServiceEventRuleActionsAnnotateArray{ &pagerduty.ServiceEventRuleActionsAnnotateArgs{ Value: pulumi.String("From Terraform"), }, }, Extractions: pagerduty.ServiceEventRuleActionsExtractionArray{ &pagerduty.ServiceEventRuleActionsExtractionArgs{ Target: pulumi.String("dedup_key"), Source: pulumi.String("source"), Regex: pulumi.String("(.*)"), }, &pagerduty.ServiceEventRuleActionsExtractionArgs{ Target: pulumi.String("summary"), Template: pulumi.String("Warning: Disk Space Low on {{Src}}"), }, }, }, }) if err != nil { return err } _, err = pagerduty.NewServiceEventRule(ctx, "bar", &pagerduty.ServiceEventRuleArgs{ Service: pulumi.Any(pagerduty_service.Foo.Id), Position: pulumi.Int(1), Disabled: pulumi.Bool(true), Conditions: &pagerduty.ServiceEventRuleConditionsArgs{ Operator: pulumi.String("and"), Subconditions: pagerduty.ServiceEventRuleConditionsSubconditionArray{ &pagerduty.ServiceEventRuleConditionsSubconditionArgs{ Operator: pulumi.String("contains"), Parameters: pagerduty.ServiceEventRuleConditionsSubconditionParameterArray{ &pagerduty.ServiceEventRuleConditionsSubconditionParameterArgs{ Value: pulumi.String("cpu spike"), Path: pulumi.String("summary"), }, }, }, }, }, Actions: &pagerduty.ServiceEventRuleActionsArgs{ Annotates: pagerduty.ServiceEventRuleActionsAnnotateArray{ &pagerduty.ServiceEventRuleActionsAnnotateArgs{ Value: pulumi.String("From Terraform"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Service event rules can be imported using using the related `service` id and the `service_event_rule` id separated by a dot, e.g.
```sh
$ pulumi import pagerduty:index/serviceEventRule:ServiceEventRule main a19cdca1-3d5e-4b52-bfea-8c8de04da243.19acac92-027a-4ea0-b06c-bbf516519601
```
func GetServiceEventRule ¶
func GetServiceEventRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceEventRuleState, opts ...pulumi.ResourceOption) (*ServiceEventRule, error)
GetServiceEventRule gets an existing ServiceEventRule 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 NewServiceEventRule ¶
func NewServiceEventRule(ctx *pulumi.Context, name string, args *ServiceEventRuleArgs, opts ...pulumi.ResourceOption) (*ServiceEventRule, error)
NewServiceEventRule registers a new resource with the given unique name, arguments, and options.
func (*ServiceEventRule) ElementType ¶
func (*ServiceEventRule) ElementType() reflect.Type
func (*ServiceEventRule) ToServiceEventRuleOutput ¶
func (i *ServiceEventRule) ToServiceEventRuleOutput() ServiceEventRuleOutput
func (*ServiceEventRule) ToServiceEventRuleOutputWithContext ¶
func (i *ServiceEventRule) ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput
func (*ServiceEventRule) ToServiceEventRulePtrOutput ¶
func (i *ServiceEventRule) ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput
func (*ServiceEventRule) ToServiceEventRulePtrOutputWithContext ¶
func (i *ServiceEventRule) ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput
type ServiceEventRuleActions ¶
type ServiceEventRuleActions struct { // Note added to the event. Annotates []ServiceEventRuleActionsAnnotate `pulumi:"annotates"` // An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`. EventActions []ServiceEventRuleActionsEventAction `pulumi:"eventActions"` // Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures: Extractions []ServiceEventRuleActionsExtraction `pulumi:"extractions"` // The ID of the priority applied to the event. Priorities []ServiceEventRuleActionsPriority `pulumi:"priorities"` // The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`. Severities []ServiceEventRuleActionsSeverity `pulumi:"severities"` // Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Suppresses []ServiceEventRuleActionsSuppress `pulumi:"suppresses"` // An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Suspends []ServiceEventRuleActionsSuspend `pulumi:"suspends"` }
type ServiceEventRuleActionsAnnotate ¶
type ServiceEventRuleActionsAnnotate struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value *string `pulumi:"value"` }
type ServiceEventRuleActionsAnnotateArgs ¶
type ServiceEventRuleActionsAnnotateArgs struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value pulumi.StringPtrInput `pulumi:"value"` }
func (ServiceEventRuleActionsAnnotateArgs) ElementType ¶
func (ServiceEventRuleActionsAnnotateArgs) ElementType() reflect.Type
func (ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutput ¶
func (i ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput
func (ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutputWithContext ¶
func (i ServiceEventRuleActionsAnnotateArgs) ToServiceEventRuleActionsAnnotateOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateOutput
type ServiceEventRuleActionsAnnotateArray ¶
type ServiceEventRuleActionsAnnotateArray []ServiceEventRuleActionsAnnotateInput
func (ServiceEventRuleActionsAnnotateArray) ElementType ¶
func (ServiceEventRuleActionsAnnotateArray) ElementType() reflect.Type
func (ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutput ¶
func (i ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput
func (ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutputWithContext ¶
func (i ServiceEventRuleActionsAnnotateArray) ToServiceEventRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateArrayOutput
type ServiceEventRuleActionsAnnotateArrayInput ¶
type ServiceEventRuleActionsAnnotateArrayInput interface { pulumi.Input ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput ToServiceEventRuleActionsAnnotateArrayOutputWithContext(context.Context) ServiceEventRuleActionsAnnotateArrayOutput }
ServiceEventRuleActionsAnnotateArrayInput is an input type that accepts ServiceEventRuleActionsAnnotateArray and ServiceEventRuleActionsAnnotateArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsAnnotateArrayInput` via:
ServiceEventRuleActionsAnnotateArray{ ServiceEventRuleActionsAnnotateArgs{...} }
type ServiceEventRuleActionsAnnotateArrayOutput ¶
type ServiceEventRuleActionsAnnotateArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsAnnotateArrayOutput) ElementType ¶
func (ServiceEventRuleActionsAnnotateArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutput ¶
func (o ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutput() ServiceEventRuleActionsAnnotateArrayOutput
func (ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutputWithContext ¶
func (o ServiceEventRuleActionsAnnotateArrayOutput) ToServiceEventRuleActionsAnnotateArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateArrayOutput
type ServiceEventRuleActionsAnnotateInput ¶
type ServiceEventRuleActionsAnnotateInput interface { pulumi.Input ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput ToServiceEventRuleActionsAnnotateOutputWithContext(context.Context) ServiceEventRuleActionsAnnotateOutput }
ServiceEventRuleActionsAnnotateInput is an input type that accepts ServiceEventRuleActionsAnnotateArgs and ServiceEventRuleActionsAnnotateOutput values. You can construct a concrete instance of `ServiceEventRuleActionsAnnotateInput` via:
ServiceEventRuleActionsAnnotateArgs{...}
type ServiceEventRuleActionsAnnotateOutput ¶
type ServiceEventRuleActionsAnnotateOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsAnnotateOutput) ElementType ¶
func (ServiceEventRuleActionsAnnotateOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutput ¶
func (o ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutput() ServiceEventRuleActionsAnnotateOutput
func (ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutputWithContext ¶
func (o ServiceEventRuleActionsAnnotateOutput) ToServiceEventRuleActionsAnnotateOutputWithContext(ctx context.Context) ServiceEventRuleActionsAnnotateOutput
func (ServiceEventRuleActionsAnnotateOutput) Value ¶
func (o ServiceEventRuleActionsAnnotateOutput) Value() pulumi.StringPtrOutput
The value for the operation. For example, an RE2 regular expression for regex-type variables.
type ServiceEventRuleActionsArgs ¶
type ServiceEventRuleActionsArgs struct { // Note added to the event. Annotates ServiceEventRuleActionsAnnotateArrayInput `pulumi:"annotates"` // An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`. EventActions ServiceEventRuleActionsEventActionArrayInput `pulumi:"eventActions"` // Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures: Extractions ServiceEventRuleActionsExtractionArrayInput `pulumi:"extractions"` // The ID of the priority applied to the event. Priorities ServiceEventRuleActionsPriorityArrayInput `pulumi:"priorities"` // The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`. Severities ServiceEventRuleActionsSeverityArrayInput `pulumi:"severities"` // Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident). Suppresses ServiceEventRuleActionsSuppressArrayInput `pulumi:"suppresses"` // An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering. Suspends ServiceEventRuleActionsSuspendArrayInput `pulumi:"suspends"` }
func (ServiceEventRuleActionsArgs) ElementType ¶
func (ServiceEventRuleActionsArgs) ElementType() reflect.Type
func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutput ¶
func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput
func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutputWithContext ¶
func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsOutputWithContext(ctx context.Context) ServiceEventRuleActionsOutput
func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutput ¶
func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput
func (ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutputWithContext ¶
func (i ServiceEventRuleActionsArgs) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput
type ServiceEventRuleActionsEventAction ¶
type ServiceEventRuleActionsEventAction struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value *string `pulumi:"value"` }
type ServiceEventRuleActionsEventActionArgs ¶
type ServiceEventRuleActionsEventActionArgs struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value pulumi.StringPtrInput `pulumi:"value"` }
func (ServiceEventRuleActionsEventActionArgs) ElementType ¶
func (ServiceEventRuleActionsEventActionArgs) ElementType() reflect.Type
func (ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutput ¶
func (i ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput
func (ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutputWithContext ¶
func (i ServiceEventRuleActionsEventActionArgs) ToServiceEventRuleActionsEventActionOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionOutput
type ServiceEventRuleActionsEventActionArray ¶
type ServiceEventRuleActionsEventActionArray []ServiceEventRuleActionsEventActionInput
func (ServiceEventRuleActionsEventActionArray) ElementType ¶
func (ServiceEventRuleActionsEventActionArray) ElementType() reflect.Type
func (ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutput ¶
func (i ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput
func (ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutputWithContext ¶
func (i ServiceEventRuleActionsEventActionArray) ToServiceEventRuleActionsEventActionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionArrayOutput
type ServiceEventRuleActionsEventActionArrayInput ¶
type ServiceEventRuleActionsEventActionArrayInput interface { pulumi.Input ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput ToServiceEventRuleActionsEventActionArrayOutputWithContext(context.Context) ServiceEventRuleActionsEventActionArrayOutput }
ServiceEventRuleActionsEventActionArrayInput is an input type that accepts ServiceEventRuleActionsEventActionArray and ServiceEventRuleActionsEventActionArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsEventActionArrayInput` via:
ServiceEventRuleActionsEventActionArray{ ServiceEventRuleActionsEventActionArgs{...} }
type ServiceEventRuleActionsEventActionArrayOutput ¶
type ServiceEventRuleActionsEventActionArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsEventActionArrayOutput) ElementType ¶
func (ServiceEventRuleActionsEventActionArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutput ¶
func (o ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutput() ServiceEventRuleActionsEventActionArrayOutput
func (ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutputWithContext ¶
func (o ServiceEventRuleActionsEventActionArrayOutput) ToServiceEventRuleActionsEventActionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionArrayOutput
type ServiceEventRuleActionsEventActionInput ¶
type ServiceEventRuleActionsEventActionInput interface { pulumi.Input ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput ToServiceEventRuleActionsEventActionOutputWithContext(context.Context) ServiceEventRuleActionsEventActionOutput }
ServiceEventRuleActionsEventActionInput is an input type that accepts ServiceEventRuleActionsEventActionArgs and ServiceEventRuleActionsEventActionOutput values. You can construct a concrete instance of `ServiceEventRuleActionsEventActionInput` via:
ServiceEventRuleActionsEventActionArgs{...}
type ServiceEventRuleActionsEventActionOutput ¶
type ServiceEventRuleActionsEventActionOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsEventActionOutput) ElementType ¶
func (ServiceEventRuleActionsEventActionOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutput ¶
func (o ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutput() ServiceEventRuleActionsEventActionOutput
func (ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutputWithContext ¶
func (o ServiceEventRuleActionsEventActionOutput) ToServiceEventRuleActionsEventActionOutputWithContext(ctx context.Context) ServiceEventRuleActionsEventActionOutput
func (ServiceEventRuleActionsEventActionOutput) Value ¶
func (o ServiceEventRuleActionsEventActionOutput) Value() pulumi.StringPtrOutput
The value for the operation. For example, an RE2 regular expression for regex-type variables.
type ServiceEventRuleActionsExtraction ¶
type ServiceEventRuleActionsExtraction struct { // The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax). Regex *string `pulumi:"regex"` // Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Source *string `pulumi:"source"` // Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Target *string `pulumi:"target"` // A customized field message. This can also include variables extracted from the payload by using string interpolation. Template *string `pulumi:"template"` }
type ServiceEventRuleActionsExtractionArgs ¶
type ServiceEventRuleActionsExtractionArgs struct { // The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax). Regex pulumi.StringPtrInput `pulumi:"regex"` // Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Source pulumi.StringPtrInput `pulumi:"source"` // Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Target pulumi.StringPtrInput `pulumi:"target"` // A customized field message. This can also include variables extracted from the payload by using string interpolation. Template pulumi.StringPtrInput `pulumi:"template"` }
func (ServiceEventRuleActionsExtractionArgs) ElementType ¶
func (ServiceEventRuleActionsExtractionArgs) ElementType() reflect.Type
func (ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutput ¶
func (i ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput
func (ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutputWithContext ¶
func (i ServiceEventRuleActionsExtractionArgs) ToServiceEventRuleActionsExtractionOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionOutput
type ServiceEventRuleActionsExtractionArray ¶
type ServiceEventRuleActionsExtractionArray []ServiceEventRuleActionsExtractionInput
func (ServiceEventRuleActionsExtractionArray) ElementType ¶
func (ServiceEventRuleActionsExtractionArray) ElementType() reflect.Type
func (ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutput ¶
func (i ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput
func (ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutputWithContext ¶
func (i ServiceEventRuleActionsExtractionArray) ToServiceEventRuleActionsExtractionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionArrayOutput
type ServiceEventRuleActionsExtractionArrayInput ¶
type ServiceEventRuleActionsExtractionArrayInput interface { pulumi.Input ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput ToServiceEventRuleActionsExtractionArrayOutputWithContext(context.Context) ServiceEventRuleActionsExtractionArrayOutput }
ServiceEventRuleActionsExtractionArrayInput is an input type that accepts ServiceEventRuleActionsExtractionArray and ServiceEventRuleActionsExtractionArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsExtractionArrayInput` via:
ServiceEventRuleActionsExtractionArray{ ServiceEventRuleActionsExtractionArgs{...} }
type ServiceEventRuleActionsExtractionArrayOutput ¶
type ServiceEventRuleActionsExtractionArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsExtractionArrayOutput) ElementType ¶
func (ServiceEventRuleActionsExtractionArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutput ¶
func (o ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutput() ServiceEventRuleActionsExtractionArrayOutput
func (ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutputWithContext ¶
func (o ServiceEventRuleActionsExtractionArrayOutput) ToServiceEventRuleActionsExtractionArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionArrayOutput
type ServiceEventRuleActionsExtractionInput ¶
type ServiceEventRuleActionsExtractionInput interface { pulumi.Input ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput ToServiceEventRuleActionsExtractionOutputWithContext(context.Context) ServiceEventRuleActionsExtractionOutput }
ServiceEventRuleActionsExtractionInput is an input type that accepts ServiceEventRuleActionsExtractionArgs and ServiceEventRuleActionsExtractionOutput values. You can construct a concrete instance of `ServiceEventRuleActionsExtractionInput` via:
ServiceEventRuleActionsExtractionArgs{...}
type ServiceEventRuleActionsExtractionOutput ¶
type ServiceEventRuleActionsExtractionOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsExtractionOutput) ElementType ¶
func (ServiceEventRuleActionsExtractionOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsExtractionOutput) Regex ¶
func (o ServiceEventRuleActionsExtractionOutput) Regex() pulumi.StringPtrOutput
The conditions that need to be met for the extraction to happen. Must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax).
func (ServiceEventRuleActionsExtractionOutput) Source ¶
func (o ServiceEventRuleActionsExtractionOutput) Source() pulumi.StringPtrOutput
Field where the data is being copied from. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
func (ServiceEventRuleActionsExtractionOutput) Target ¶
func (o ServiceEventRuleActionsExtractionOutput) Target() pulumi.StringPtrOutput
Field where the data is being copied to. Must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
func (ServiceEventRuleActionsExtractionOutput) Template ¶
func (o ServiceEventRuleActionsExtractionOutput) Template() pulumi.StringPtrOutput
A customized field message. This can also include variables extracted from the payload by using string interpolation.
func (ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutput ¶
func (o ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutput() ServiceEventRuleActionsExtractionOutput
func (ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutputWithContext ¶
func (o ServiceEventRuleActionsExtractionOutput) ToServiceEventRuleActionsExtractionOutputWithContext(ctx context.Context) ServiceEventRuleActionsExtractionOutput
type ServiceEventRuleActionsInput ¶
type ServiceEventRuleActionsInput interface { pulumi.Input ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput ToServiceEventRuleActionsOutputWithContext(context.Context) ServiceEventRuleActionsOutput }
ServiceEventRuleActionsInput is an input type that accepts ServiceEventRuleActionsArgs and ServiceEventRuleActionsOutput values. You can construct a concrete instance of `ServiceEventRuleActionsInput` via:
ServiceEventRuleActionsArgs{...}
type ServiceEventRuleActionsOutput ¶
type ServiceEventRuleActionsOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsOutput) Annotates ¶
func (o ServiceEventRuleActionsOutput) Annotates() ServiceEventRuleActionsAnnotateArrayOutput
Note added to the event.
func (ServiceEventRuleActionsOutput) ElementType ¶
func (ServiceEventRuleActionsOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsOutput) EventActions ¶
func (o ServiceEventRuleActionsOutput) EventActions() ServiceEventRuleActionsEventActionArrayOutput
An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.
func (ServiceEventRuleActionsOutput) Extractions ¶
func (o ServiceEventRuleActionsOutput) Extractions() ServiceEventRuleActionsExtractionArrayOutput
Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:
func (ServiceEventRuleActionsOutput) Priorities ¶
func (o ServiceEventRuleActionsOutput) Priorities() ServiceEventRuleActionsPriorityArrayOutput
The ID of the priority applied to the event.
func (ServiceEventRuleActionsOutput) Severities ¶
func (o ServiceEventRuleActionsOutput) Severities() ServiceEventRuleActionsSeverityArrayOutput
The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`.
func (ServiceEventRuleActionsOutput) Suppresses ¶
func (o ServiceEventRuleActionsOutput) Suppresses() ServiceEventRuleActionsSuppressArrayOutput
Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident).
func (ServiceEventRuleActionsOutput) Suspends ¶
func (o ServiceEventRuleActionsOutput) Suspends() ServiceEventRuleActionsSuspendArrayOutput
An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering.
func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutput ¶
func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutput() ServiceEventRuleActionsOutput
func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutputWithContext ¶
func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsOutputWithContext(ctx context.Context) ServiceEventRuleActionsOutput
func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutput ¶
func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput
func (ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutputWithContext ¶
func (o ServiceEventRuleActionsOutput) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput
type ServiceEventRuleActionsPriority ¶
type ServiceEventRuleActionsPriority struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value *string `pulumi:"value"` }
type ServiceEventRuleActionsPriorityArgs ¶
type ServiceEventRuleActionsPriorityArgs struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value pulumi.StringPtrInput `pulumi:"value"` }
func (ServiceEventRuleActionsPriorityArgs) ElementType ¶
func (ServiceEventRuleActionsPriorityArgs) ElementType() reflect.Type
func (ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutput ¶
func (i ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput
func (ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutputWithContext ¶
func (i ServiceEventRuleActionsPriorityArgs) ToServiceEventRuleActionsPriorityOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityOutput
type ServiceEventRuleActionsPriorityArray ¶
type ServiceEventRuleActionsPriorityArray []ServiceEventRuleActionsPriorityInput
func (ServiceEventRuleActionsPriorityArray) ElementType ¶
func (ServiceEventRuleActionsPriorityArray) ElementType() reflect.Type
func (ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutput ¶
func (i ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput
func (ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutputWithContext ¶
func (i ServiceEventRuleActionsPriorityArray) ToServiceEventRuleActionsPriorityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityArrayOutput
type ServiceEventRuleActionsPriorityArrayInput ¶
type ServiceEventRuleActionsPriorityArrayInput interface { pulumi.Input ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput ToServiceEventRuleActionsPriorityArrayOutputWithContext(context.Context) ServiceEventRuleActionsPriorityArrayOutput }
ServiceEventRuleActionsPriorityArrayInput is an input type that accepts ServiceEventRuleActionsPriorityArray and ServiceEventRuleActionsPriorityArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsPriorityArrayInput` via:
ServiceEventRuleActionsPriorityArray{ ServiceEventRuleActionsPriorityArgs{...} }
type ServiceEventRuleActionsPriorityArrayOutput ¶
type ServiceEventRuleActionsPriorityArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsPriorityArrayOutput) ElementType ¶
func (ServiceEventRuleActionsPriorityArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutput ¶
func (o ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutput() ServiceEventRuleActionsPriorityArrayOutput
func (ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutputWithContext ¶
func (o ServiceEventRuleActionsPriorityArrayOutput) ToServiceEventRuleActionsPriorityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityArrayOutput
type ServiceEventRuleActionsPriorityInput ¶
type ServiceEventRuleActionsPriorityInput interface { pulumi.Input ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput ToServiceEventRuleActionsPriorityOutputWithContext(context.Context) ServiceEventRuleActionsPriorityOutput }
ServiceEventRuleActionsPriorityInput is an input type that accepts ServiceEventRuleActionsPriorityArgs and ServiceEventRuleActionsPriorityOutput values. You can construct a concrete instance of `ServiceEventRuleActionsPriorityInput` via:
ServiceEventRuleActionsPriorityArgs{...}
type ServiceEventRuleActionsPriorityOutput ¶
type ServiceEventRuleActionsPriorityOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsPriorityOutput) ElementType ¶
func (ServiceEventRuleActionsPriorityOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutput ¶
func (o ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutput() ServiceEventRuleActionsPriorityOutput
func (ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutputWithContext ¶
func (o ServiceEventRuleActionsPriorityOutput) ToServiceEventRuleActionsPriorityOutputWithContext(ctx context.Context) ServiceEventRuleActionsPriorityOutput
func (ServiceEventRuleActionsPriorityOutput) Value ¶
func (o ServiceEventRuleActionsPriorityOutput) Value() pulumi.StringPtrOutput
The value for the operation. For example, an RE2 regular expression for regex-type variables.
type ServiceEventRuleActionsPtrInput ¶
type ServiceEventRuleActionsPtrInput interface { pulumi.Input ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput ToServiceEventRuleActionsPtrOutputWithContext(context.Context) ServiceEventRuleActionsPtrOutput }
ServiceEventRuleActionsPtrInput is an input type that accepts ServiceEventRuleActionsArgs, ServiceEventRuleActionsPtr and ServiceEventRuleActionsPtrOutput values. You can construct a concrete instance of `ServiceEventRuleActionsPtrInput` via:
ServiceEventRuleActionsArgs{...} or: nil
func ServiceEventRuleActionsPtr ¶
func ServiceEventRuleActionsPtr(v *ServiceEventRuleActionsArgs) ServiceEventRuleActionsPtrInput
type ServiceEventRuleActionsPtrOutput ¶
type ServiceEventRuleActionsPtrOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsPtrOutput) Annotates ¶
func (o ServiceEventRuleActionsPtrOutput) Annotates() ServiceEventRuleActionsAnnotateArrayOutput
Note added to the event.
func (ServiceEventRuleActionsPtrOutput) Elem ¶
func (o ServiceEventRuleActionsPtrOutput) Elem() ServiceEventRuleActionsOutput
func (ServiceEventRuleActionsPtrOutput) ElementType ¶
func (ServiceEventRuleActionsPtrOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsPtrOutput) EventActions ¶
func (o ServiceEventRuleActionsPtrOutput) EventActions() ServiceEventRuleActionsEventActionArrayOutput
An object with a single `value` field. The value sets whether the resulting alert status is `trigger` or `resolve`.
func (ServiceEventRuleActionsPtrOutput) Extractions ¶
func (o ServiceEventRuleActionsPtrOutput) Extractions() ServiceEventRuleActionsExtractionArrayOutput
Allows you to copy important data from one event field to another. Extraction objects may use *either* of the following field structures:
func (ServiceEventRuleActionsPtrOutput) Priorities ¶
func (o ServiceEventRuleActionsPtrOutput) Priorities() ServiceEventRuleActionsPriorityArrayOutput
The ID of the priority applied to the event.
func (ServiceEventRuleActionsPtrOutput) Severities ¶
func (o ServiceEventRuleActionsPtrOutput) Severities() ServiceEventRuleActionsSeverityArrayOutput
The [severity level](https://support.pagerduty.com/docs/rulesets#section-set-severity-with-event-rules) of the event. Can be either `info`,`error`,`warning`, or `critical`.
func (ServiceEventRuleActionsPtrOutput) Suppresses ¶
func (o ServiceEventRuleActionsPtrOutput) Suppresses() ServiceEventRuleActionsSuppressArrayOutput
Controls whether an alert is [suppressed](https://support.pagerduty.com/docs/rulesets#section-suppress-but-create-triggering-thresholds-with-event-rules) (does not create an incident).
func (ServiceEventRuleActionsPtrOutput) Suspends ¶
func (o ServiceEventRuleActionsPtrOutput) Suspends() ServiceEventRuleActionsSuspendArrayOutput
An object with a single `value` field. The value sets the length of time to suspend the resulting alert before triggering.
func (ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutput ¶
func (o ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutput() ServiceEventRuleActionsPtrOutput
func (ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutputWithContext ¶
func (o ServiceEventRuleActionsPtrOutput) ToServiceEventRuleActionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleActionsPtrOutput
type ServiceEventRuleActionsSeverity ¶
type ServiceEventRuleActionsSeverity struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value *string `pulumi:"value"` }
type ServiceEventRuleActionsSeverityArgs ¶
type ServiceEventRuleActionsSeverityArgs struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value pulumi.StringPtrInput `pulumi:"value"` }
func (ServiceEventRuleActionsSeverityArgs) ElementType ¶
func (ServiceEventRuleActionsSeverityArgs) ElementType() reflect.Type
func (ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutput ¶
func (i ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput
func (ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutputWithContext ¶
func (i ServiceEventRuleActionsSeverityArgs) ToServiceEventRuleActionsSeverityOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityOutput
type ServiceEventRuleActionsSeverityArray ¶
type ServiceEventRuleActionsSeverityArray []ServiceEventRuleActionsSeverityInput
func (ServiceEventRuleActionsSeverityArray) ElementType ¶
func (ServiceEventRuleActionsSeverityArray) ElementType() reflect.Type
func (ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutput ¶
func (i ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput
func (ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutputWithContext ¶
func (i ServiceEventRuleActionsSeverityArray) ToServiceEventRuleActionsSeverityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityArrayOutput
type ServiceEventRuleActionsSeverityArrayInput ¶
type ServiceEventRuleActionsSeverityArrayInput interface { pulumi.Input ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput ToServiceEventRuleActionsSeverityArrayOutputWithContext(context.Context) ServiceEventRuleActionsSeverityArrayOutput }
ServiceEventRuleActionsSeverityArrayInput is an input type that accepts ServiceEventRuleActionsSeverityArray and ServiceEventRuleActionsSeverityArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSeverityArrayInput` via:
ServiceEventRuleActionsSeverityArray{ ServiceEventRuleActionsSeverityArgs{...} }
type ServiceEventRuleActionsSeverityArrayOutput ¶
type ServiceEventRuleActionsSeverityArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsSeverityArrayOutput) ElementType ¶
func (ServiceEventRuleActionsSeverityArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutput ¶
func (o ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutput() ServiceEventRuleActionsSeverityArrayOutput
func (ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutputWithContext ¶
func (o ServiceEventRuleActionsSeverityArrayOutput) ToServiceEventRuleActionsSeverityArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityArrayOutput
type ServiceEventRuleActionsSeverityInput ¶
type ServiceEventRuleActionsSeverityInput interface { pulumi.Input ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput ToServiceEventRuleActionsSeverityOutputWithContext(context.Context) ServiceEventRuleActionsSeverityOutput }
ServiceEventRuleActionsSeverityInput is an input type that accepts ServiceEventRuleActionsSeverityArgs and ServiceEventRuleActionsSeverityOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSeverityInput` via:
ServiceEventRuleActionsSeverityArgs{...}
type ServiceEventRuleActionsSeverityOutput ¶
type ServiceEventRuleActionsSeverityOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsSeverityOutput) ElementType ¶
func (ServiceEventRuleActionsSeverityOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutput ¶
func (o ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutput() ServiceEventRuleActionsSeverityOutput
func (ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutputWithContext ¶
func (o ServiceEventRuleActionsSeverityOutput) ToServiceEventRuleActionsSeverityOutputWithContext(ctx context.Context) ServiceEventRuleActionsSeverityOutput
func (ServiceEventRuleActionsSeverityOutput) Value ¶
func (o ServiceEventRuleActionsSeverityOutput) Value() pulumi.StringPtrOutput
The value for the operation. For example, an RE2 regular expression for regex-type variables.
type ServiceEventRuleActionsSuppress ¶
type ServiceEventRuleActionsSuppress struct { // The number value of the `thresholdTimeUnit` before an incident is created. ThresholdTimeAmount *int `pulumi:"thresholdTimeAmount"` // The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured. ThresholdTimeUnit *string `pulumi:"thresholdTimeUnit"` // The number of alerts that should be suppressed. ThresholdValue *int `pulumi:"thresholdValue"` // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value *bool `pulumi:"value"` }
type ServiceEventRuleActionsSuppressArgs ¶
type ServiceEventRuleActionsSuppressArgs struct { // The number value of the `thresholdTimeUnit` before an incident is created. ThresholdTimeAmount pulumi.IntPtrInput `pulumi:"thresholdTimeAmount"` // The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured. ThresholdTimeUnit pulumi.StringPtrInput `pulumi:"thresholdTimeUnit"` // The number of alerts that should be suppressed. ThresholdValue pulumi.IntPtrInput `pulumi:"thresholdValue"` // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value pulumi.BoolPtrInput `pulumi:"value"` }
func (ServiceEventRuleActionsSuppressArgs) ElementType ¶
func (ServiceEventRuleActionsSuppressArgs) ElementType() reflect.Type
func (ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutput ¶
func (i ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput
func (ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutputWithContext ¶
func (i ServiceEventRuleActionsSuppressArgs) ToServiceEventRuleActionsSuppressOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressOutput
type ServiceEventRuleActionsSuppressArray ¶
type ServiceEventRuleActionsSuppressArray []ServiceEventRuleActionsSuppressInput
func (ServiceEventRuleActionsSuppressArray) ElementType ¶
func (ServiceEventRuleActionsSuppressArray) ElementType() reflect.Type
func (ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutput ¶
func (i ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput
func (ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutputWithContext ¶
func (i ServiceEventRuleActionsSuppressArray) ToServiceEventRuleActionsSuppressArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressArrayOutput
type ServiceEventRuleActionsSuppressArrayInput ¶
type ServiceEventRuleActionsSuppressArrayInput interface { pulumi.Input ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput ToServiceEventRuleActionsSuppressArrayOutputWithContext(context.Context) ServiceEventRuleActionsSuppressArrayOutput }
ServiceEventRuleActionsSuppressArrayInput is an input type that accepts ServiceEventRuleActionsSuppressArray and ServiceEventRuleActionsSuppressArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSuppressArrayInput` via:
ServiceEventRuleActionsSuppressArray{ ServiceEventRuleActionsSuppressArgs{...} }
type ServiceEventRuleActionsSuppressArrayOutput ¶
type ServiceEventRuleActionsSuppressArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsSuppressArrayOutput) ElementType ¶
func (ServiceEventRuleActionsSuppressArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutput ¶
func (o ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutput() ServiceEventRuleActionsSuppressArrayOutput
func (ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutputWithContext ¶
func (o ServiceEventRuleActionsSuppressArrayOutput) ToServiceEventRuleActionsSuppressArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressArrayOutput
type ServiceEventRuleActionsSuppressInput ¶
type ServiceEventRuleActionsSuppressInput interface { pulumi.Input ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput ToServiceEventRuleActionsSuppressOutputWithContext(context.Context) ServiceEventRuleActionsSuppressOutput }
ServiceEventRuleActionsSuppressInput is an input type that accepts ServiceEventRuleActionsSuppressArgs and ServiceEventRuleActionsSuppressOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSuppressInput` via:
ServiceEventRuleActionsSuppressArgs{...}
type ServiceEventRuleActionsSuppressOutput ¶
type ServiceEventRuleActionsSuppressOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsSuppressOutput) ElementType ¶
func (ServiceEventRuleActionsSuppressOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsSuppressOutput) ThresholdTimeAmount ¶
func (o ServiceEventRuleActionsSuppressOutput) ThresholdTimeAmount() pulumi.IntPtrOutput
The number value of the `thresholdTimeUnit` before an incident is created.
func (ServiceEventRuleActionsSuppressOutput) ThresholdTimeUnit ¶
func (o ServiceEventRuleActionsSuppressOutput) ThresholdTimeUnit() pulumi.StringPtrOutput
The `seconds`,`minutes`, or `hours` the `thresholdTimeAmount` should be measured.
func (ServiceEventRuleActionsSuppressOutput) ThresholdValue ¶
func (o ServiceEventRuleActionsSuppressOutput) ThresholdValue() pulumi.IntPtrOutput
The number of alerts that should be suppressed.
func (ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutput ¶
func (o ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutput() ServiceEventRuleActionsSuppressOutput
func (ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutputWithContext ¶
func (o ServiceEventRuleActionsSuppressOutput) ToServiceEventRuleActionsSuppressOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuppressOutput
func (ServiceEventRuleActionsSuppressOutput) Value ¶
func (o ServiceEventRuleActionsSuppressOutput) Value() pulumi.BoolPtrOutput
The value for the operation. For example, an RE2 regular expression for regex-type variables.
type ServiceEventRuleActionsSuspend ¶
type ServiceEventRuleActionsSuspend struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value *int `pulumi:"value"` }
type ServiceEventRuleActionsSuspendArgs ¶
type ServiceEventRuleActionsSuspendArgs struct { // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value pulumi.IntPtrInput `pulumi:"value"` }
func (ServiceEventRuleActionsSuspendArgs) ElementType ¶
func (ServiceEventRuleActionsSuspendArgs) ElementType() reflect.Type
func (ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutput ¶
func (i ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput
func (ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutputWithContext ¶
func (i ServiceEventRuleActionsSuspendArgs) ToServiceEventRuleActionsSuspendOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendOutput
type ServiceEventRuleActionsSuspendArray ¶
type ServiceEventRuleActionsSuspendArray []ServiceEventRuleActionsSuspendInput
func (ServiceEventRuleActionsSuspendArray) ElementType ¶
func (ServiceEventRuleActionsSuspendArray) ElementType() reflect.Type
func (ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutput ¶
func (i ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput
func (ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutputWithContext ¶
func (i ServiceEventRuleActionsSuspendArray) ToServiceEventRuleActionsSuspendArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendArrayOutput
type ServiceEventRuleActionsSuspendArrayInput ¶
type ServiceEventRuleActionsSuspendArrayInput interface { pulumi.Input ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput ToServiceEventRuleActionsSuspendArrayOutputWithContext(context.Context) ServiceEventRuleActionsSuspendArrayOutput }
ServiceEventRuleActionsSuspendArrayInput is an input type that accepts ServiceEventRuleActionsSuspendArray and ServiceEventRuleActionsSuspendArrayOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSuspendArrayInput` via:
ServiceEventRuleActionsSuspendArray{ ServiceEventRuleActionsSuspendArgs{...} }
type ServiceEventRuleActionsSuspendArrayOutput ¶
type ServiceEventRuleActionsSuspendArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsSuspendArrayOutput) ElementType ¶
func (ServiceEventRuleActionsSuspendArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutput ¶
func (o ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutput() ServiceEventRuleActionsSuspendArrayOutput
func (ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutputWithContext ¶
func (o ServiceEventRuleActionsSuspendArrayOutput) ToServiceEventRuleActionsSuspendArrayOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendArrayOutput
type ServiceEventRuleActionsSuspendInput ¶
type ServiceEventRuleActionsSuspendInput interface { pulumi.Input ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput ToServiceEventRuleActionsSuspendOutputWithContext(context.Context) ServiceEventRuleActionsSuspendOutput }
ServiceEventRuleActionsSuspendInput is an input type that accepts ServiceEventRuleActionsSuspendArgs and ServiceEventRuleActionsSuspendOutput values. You can construct a concrete instance of `ServiceEventRuleActionsSuspendInput` via:
ServiceEventRuleActionsSuspendArgs{...}
type ServiceEventRuleActionsSuspendOutput ¶
type ServiceEventRuleActionsSuspendOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleActionsSuspendOutput) ElementType ¶
func (ServiceEventRuleActionsSuspendOutput) ElementType() reflect.Type
func (ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutput ¶
func (o ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutput() ServiceEventRuleActionsSuspendOutput
func (ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutputWithContext ¶
func (o ServiceEventRuleActionsSuspendOutput) ToServiceEventRuleActionsSuspendOutputWithContext(ctx context.Context) ServiceEventRuleActionsSuspendOutput
func (ServiceEventRuleActionsSuspendOutput) Value ¶
func (o ServiceEventRuleActionsSuspendOutput) Value() pulumi.IntPtrOutput
The value for the operation. For example, an RE2 regular expression for regex-type variables.
type ServiceEventRuleArgs ¶
type ServiceEventRuleArgs struct { // Actions to apply to an event if the conditions match. Actions ServiceEventRuleActionsPtrInput // Conditions evaluated to check if an event matches this event rule. Conditions ServiceEventRuleConditionsPtrInput // Indicates whether the rule is disabled and would therefore not be evaluated. Disabled pulumi.BoolPtrInput // Position/index of the rule within the service. Position pulumi.IntPtrInput // The ID of the service that the rule belongs to. Service pulumi.StringInput // Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules). TimeFrame ServiceEventRuleTimeFramePtrInput // Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.* Variables ServiceEventRuleVariableArrayInput }
The set of arguments for constructing a ServiceEventRule resource.
func (ServiceEventRuleArgs) ElementType ¶
func (ServiceEventRuleArgs) ElementType() reflect.Type
type ServiceEventRuleArray ¶
type ServiceEventRuleArray []ServiceEventRuleInput
func (ServiceEventRuleArray) ElementType ¶
func (ServiceEventRuleArray) ElementType() reflect.Type
func (ServiceEventRuleArray) ToServiceEventRuleArrayOutput ¶
func (i ServiceEventRuleArray) ToServiceEventRuleArrayOutput() ServiceEventRuleArrayOutput
func (ServiceEventRuleArray) ToServiceEventRuleArrayOutputWithContext ¶
func (i ServiceEventRuleArray) ToServiceEventRuleArrayOutputWithContext(ctx context.Context) ServiceEventRuleArrayOutput
type ServiceEventRuleArrayInput ¶
type ServiceEventRuleArrayInput interface { pulumi.Input ToServiceEventRuleArrayOutput() ServiceEventRuleArrayOutput ToServiceEventRuleArrayOutputWithContext(context.Context) ServiceEventRuleArrayOutput }
ServiceEventRuleArrayInput is an input type that accepts ServiceEventRuleArray and ServiceEventRuleArrayOutput values. You can construct a concrete instance of `ServiceEventRuleArrayInput` via:
ServiceEventRuleArray{ ServiceEventRuleArgs{...} }
type ServiceEventRuleArrayOutput ¶
type ServiceEventRuleArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleArrayOutput) ElementType ¶
func (ServiceEventRuleArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleArrayOutput) Index ¶
func (o ServiceEventRuleArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleOutput
func (ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutput ¶
func (o ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutput() ServiceEventRuleArrayOutput
func (ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutputWithContext ¶
func (o ServiceEventRuleArrayOutput) ToServiceEventRuleArrayOutputWithContext(ctx context.Context) ServiceEventRuleArrayOutput
type ServiceEventRuleConditions ¶
type ServiceEventRuleConditions struct { // Operator to combine sub-conditions. Can be `and` or `or`. Operator *string `pulumi:"operator"` // List of sub-conditions that define the the condition. Subconditions []ServiceEventRuleConditionsSubcondition `pulumi:"subconditions"` }
type ServiceEventRuleConditionsArgs ¶
type ServiceEventRuleConditionsArgs struct { // Operator to combine sub-conditions. Can be `and` or `or`. Operator pulumi.StringPtrInput `pulumi:"operator"` // List of sub-conditions that define the the condition. Subconditions ServiceEventRuleConditionsSubconditionArrayInput `pulumi:"subconditions"` }
func (ServiceEventRuleConditionsArgs) ElementType ¶
func (ServiceEventRuleConditionsArgs) ElementType() reflect.Type
func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutput ¶
func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput
func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutputWithContext ¶
func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsOutputWithContext(ctx context.Context) ServiceEventRuleConditionsOutput
func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutput ¶
func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput
func (ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutputWithContext ¶
func (i ServiceEventRuleConditionsArgs) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput
type ServiceEventRuleConditionsInput ¶
type ServiceEventRuleConditionsInput interface { pulumi.Input ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput ToServiceEventRuleConditionsOutputWithContext(context.Context) ServiceEventRuleConditionsOutput }
ServiceEventRuleConditionsInput is an input type that accepts ServiceEventRuleConditionsArgs and ServiceEventRuleConditionsOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsInput` via:
ServiceEventRuleConditionsArgs{...}
type ServiceEventRuleConditionsOutput ¶
type ServiceEventRuleConditionsOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleConditionsOutput) ElementType ¶
func (ServiceEventRuleConditionsOutput) ElementType() reflect.Type
func (ServiceEventRuleConditionsOutput) Operator ¶
func (o ServiceEventRuleConditionsOutput) Operator() pulumi.StringPtrOutput
Operator to combine sub-conditions. Can be `and` or `or`.
func (ServiceEventRuleConditionsOutput) Subconditions ¶
func (o ServiceEventRuleConditionsOutput) Subconditions() ServiceEventRuleConditionsSubconditionArrayOutput
List of sub-conditions that define the the condition.
func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutput ¶
func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutput() ServiceEventRuleConditionsOutput
func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutputWithContext ¶
func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsOutputWithContext(ctx context.Context) ServiceEventRuleConditionsOutput
func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutput ¶
func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput
func (ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutputWithContext ¶
func (o ServiceEventRuleConditionsOutput) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput
type ServiceEventRuleConditionsPtrInput ¶
type ServiceEventRuleConditionsPtrInput interface { pulumi.Input ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput ToServiceEventRuleConditionsPtrOutputWithContext(context.Context) ServiceEventRuleConditionsPtrOutput }
ServiceEventRuleConditionsPtrInput is an input type that accepts ServiceEventRuleConditionsArgs, ServiceEventRuleConditionsPtr and ServiceEventRuleConditionsPtrOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsPtrInput` via:
ServiceEventRuleConditionsArgs{...} or: nil
func ServiceEventRuleConditionsPtr ¶
func ServiceEventRuleConditionsPtr(v *ServiceEventRuleConditionsArgs) ServiceEventRuleConditionsPtrInput
type ServiceEventRuleConditionsPtrOutput ¶
type ServiceEventRuleConditionsPtrOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleConditionsPtrOutput) Elem ¶
func (o ServiceEventRuleConditionsPtrOutput) Elem() ServiceEventRuleConditionsOutput
func (ServiceEventRuleConditionsPtrOutput) ElementType ¶
func (ServiceEventRuleConditionsPtrOutput) ElementType() reflect.Type
func (ServiceEventRuleConditionsPtrOutput) Operator ¶
func (o ServiceEventRuleConditionsPtrOutput) Operator() pulumi.StringPtrOutput
Operator to combine sub-conditions. Can be `and` or `or`.
func (ServiceEventRuleConditionsPtrOutput) Subconditions ¶
func (o ServiceEventRuleConditionsPtrOutput) Subconditions() ServiceEventRuleConditionsSubconditionArrayOutput
List of sub-conditions that define the the condition.
func (ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutput ¶
func (o ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutput() ServiceEventRuleConditionsPtrOutput
func (ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutputWithContext ¶
func (o ServiceEventRuleConditionsPtrOutput) ToServiceEventRuleConditionsPtrOutputWithContext(ctx context.Context) ServiceEventRuleConditionsPtrOutput
type ServiceEventRuleConditionsSubcondition ¶
type ServiceEventRuleConditionsSubcondition struct { // Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`. Operator *string `pulumi:"operator"` // Parameter for the sub-condition. It requires both a `path` and `value` to be set. The `path` value must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Parameters []ServiceEventRuleConditionsSubconditionParameter `pulumi:"parameters"` }
type ServiceEventRuleConditionsSubconditionArgs ¶
type ServiceEventRuleConditionsSubconditionArgs struct { // Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`. Operator pulumi.StringPtrInput `pulumi:"operator"` // Parameter for the sub-condition. It requires both a `path` and `value` to be set. The `path` value must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field. Parameters ServiceEventRuleConditionsSubconditionParameterArrayInput `pulumi:"parameters"` }
func (ServiceEventRuleConditionsSubconditionArgs) ElementType ¶
func (ServiceEventRuleConditionsSubconditionArgs) ElementType() reflect.Type
func (ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutput ¶
func (i ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput
func (ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutputWithContext ¶
func (i ServiceEventRuleConditionsSubconditionArgs) ToServiceEventRuleConditionsSubconditionOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionOutput
type ServiceEventRuleConditionsSubconditionArray ¶
type ServiceEventRuleConditionsSubconditionArray []ServiceEventRuleConditionsSubconditionInput
func (ServiceEventRuleConditionsSubconditionArray) ElementType ¶
func (ServiceEventRuleConditionsSubconditionArray) ElementType() reflect.Type
func (ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutput ¶
func (i ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput
func (ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext ¶
func (i ServiceEventRuleConditionsSubconditionArray) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionArrayOutput
type ServiceEventRuleConditionsSubconditionArrayInput ¶
type ServiceEventRuleConditionsSubconditionArrayInput interface { pulumi.Input ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(context.Context) ServiceEventRuleConditionsSubconditionArrayOutput }
ServiceEventRuleConditionsSubconditionArrayInput is an input type that accepts ServiceEventRuleConditionsSubconditionArray and ServiceEventRuleConditionsSubconditionArrayOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsSubconditionArrayInput` via:
ServiceEventRuleConditionsSubconditionArray{ ServiceEventRuleConditionsSubconditionArgs{...} }
type ServiceEventRuleConditionsSubconditionArrayOutput ¶
type ServiceEventRuleConditionsSubconditionArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleConditionsSubconditionArrayOutput) ElementType ¶
func (ServiceEventRuleConditionsSubconditionArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutput ¶
func (o ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutput() ServiceEventRuleConditionsSubconditionArrayOutput
func (ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext ¶
func (o ServiceEventRuleConditionsSubconditionArrayOutput) ToServiceEventRuleConditionsSubconditionArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionArrayOutput
type ServiceEventRuleConditionsSubconditionInput ¶
type ServiceEventRuleConditionsSubconditionInput interface { pulumi.Input ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput ToServiceEventRuleConditionsSubconditionOutputWithContext(context.Context) ServiceEventRuleConditionsSubconditionOutput }
ServiceEventRuleConditionsSubconditionInput is an input type that accepts ServiceEventRuleConditionsSubconditionArgs and ServiceEventRuleConditionsSubconditionOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsSubconditionInput` via:
ServiceEventRuleConditionsSubconditionArgs{...}
type ServiceEventRuleConditionsSubconditionOutput ¶
type ServiceEventRuleConditionsSubconditionOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleConditionsSubconditionOutput) ElementType ¶
func (ServiceEventRuleConditionsSubconditionOutput) ElementType() reflect.Type
func (ServiceEventRuleConditionsSubconditionOutput) Operator ¶
func (o ServiceEventRuleConditionsSubconditionOutput) Operator() pulumi.StringPtrOutput
Type of operator to apply to the sub-condition. Can be `exists`,`nexists`,`equals`,`nequals`,`contains`,`ncontains`,`matches`, or `nmatches`.
func (ServiceEventRuleConditionsSubconditionOutput) Parameters ¶
func (o ServiceEventRuleConditionsSubconditionOutput) Parameters() ServiceEventRuleConditionsSubconditionParameterArrayOutput
Parameter for the sub-condition. It requires both a `path` and `value` to be set. The `path` value must be a [PagerDuty Common Event Format (PD-CEF)](https://support.pagerduty.com/docs/pd-cef) field.
func (ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutput ¶
func (o ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutput() ServiceEventRuleConditionsSubconditionOutput
func (ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutputWithContext ¶
func (o ServiceEventRuleConditionsSubconditionOutput) ToServiceEventRuleConditionsSubconditionOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionOutput
type ServiceEventRuleConditionsSubconditionParameter ¶
type ServiceEventRuleConditionsSubconditionParameter struct { // Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef). Path *string `pulumi:"path"` // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value *string `pulumi:"value"` }
type ServiceEventRuleConditionsSubconditionParameterArgs ¶
type ServiceEventRuleConditionsSubconditionParameterArgs struct { // Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef). Path pulumi.StringPtrInput `pulumi:"path"` // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value pulumi.StringPtrInput `pulumi:"value"` }
func (ServiceEventRuleConditionsSubconditionParameterArgs) ElementType ¶
func (ServiceEventRuleConditionsSubconditionParameterArgs) ElementType() reflect.Type
func (ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutput ¶
func (i ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutput() ServiceEventRuleConditionsSubconditionParameterOutput
func (ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext ¶
func (i ServiceEventRuleConditionsSubconditionParameterArgs) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterOutput
type ServiceEventRuleConditionsSubconditionParameterArray ¶
type ServiceEventRuleConditionsSubconditionParameterArray []ServiceEventRuleConditionsSubconditionParameterInput
func (ServiceEventRuleConditionsSubconditionParameterArray) ElementType ¶
func (ServiceEventRuleConditionsSubconditionParameterArray) ElementType() reflect.Type
func (ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutput ¶
func (i ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutput() ServiceEventRuleConditionsSubconditionParameterArrayOutput
func (ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext ¶
func (i ServiceEventRuleConditionsSubconditionParameterArray) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput
type ServiceEventRuleConditionsSubconditionParameterArrayInput ¶
type ServiceEventRuleConditionsSubconditionParameterArrayInput interface { pulumi.Input ToServiceEventRuleConditionsSubconditionParameterArrayOutput() ServiceEventRuleConditionsSubconditionParameterArrayOutput ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput }
ServiceEventRuleConditionsSubconditionParameterArrayInput is an input type that accepts ServiceEventRuleConditionsSubconditionParameterArray and ServiceEventRuleConditionsSubconditionParameterArrayOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsSubconditionParameterArrayInput` via:
ServiceEventRuleConditionsSubconditionParameterArray{ ServiceEventRuleConditionsSubconditionParameterArgs{...} }
type ServiceEventRuleConditionsSubconditionParameterArrayOutput ¶
type ServiceEventRuleConditionsSubconditionParameterArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ElementType ¶
func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutput ¶
func (o ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutput() ServiceEventRuleConditionsSubconditionParameterArrayOutput
func (ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext ¶
func (o ServiceEventRuleConditionsSubconditionParameterArrayOutput) ToServiceEventRuleConditionsSubconditionParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterArrayOutput
type ServiceEventRuleConditionsSubconditionParameterInput ¶
type ServiceEventRuleConditionsSubconditionParameterInput interface { pulumi.Input ToServiceEventRuleConditionsSubconditionParameterOutput() ServiceEventRuleConditionsSubconditionParameterOutput ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(context.Context) ServiceEventRuleConditionsSubconditionParameterOutput }
ServiceEventRuleConditionsSubconditionParameterInput is an input type that accepts ServiceEventRuleConditionsSubconditionParameterArgs and ServiceEventRuleConditionsSubconditionParameterOutput values. You can construct a concrete instance of `ServiceEventRuleConditionsSubconditionParameterInput` via:
ServiceEventRuleConditionsSubconditionParameterArgs{...}
type ServiceEventRuleConditionsSubconditionParameterOutput ¶
type ServiceEventRuleConditionsSubconditionParameterOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleConditionsSubconditionParameterOutput) ElementType ¶
func (ServiceEventRuleConditionsSubconditionParameterOutput) ElementType() reflect.Type
func (ServiceEventRuleConditionsSubconditionParameterOutput) Path ¶
Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef).
func (ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutput ¶
func (o ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutput() ServiceEventRuleConditionsSubconditionParameterOutput
func (ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext ¶
func (o ServiceEventRuleConditionsSubconditionParameterOutput) ToServiceEventRuleConditionsSubconditionParameterOutputWithContext(ctx context.Context) ServiceEventRuleConditionsSubconditionParameterOutput
func (ServiceEventRuleConditionsSubconditionParameterOutput) Value ¶
func (o ServiceEventRuleConditionsSubconditionParameterOutput) Value() pulumi.StringPtrOutput
The value for the operation. For example, an RE2 regular expression for regex-type variables.
type ServiceEventRuleInput ¶
type ServiceEventRuleInput interface { pulumi.Input ToServiceEventRuleOutput() ServiceEventRuleOutput ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput }
type ServiceEventRuleMap ¶
type ServiceEventRuleMap map[string]ServiceEventRuleInput
func (ServiceEventRuleMap) ElementType ¶
func (ServiceEventRuleMap) ElementType() reflect.Type
func (ServiceEventRuleMap) ToServiceEventRuleMapOutput ¶
func (i ServiceEventRuleMap) ToServiceEventRuleMapOutput() ServiceEventRuleMapOutput
func (ServiceEventRuleMap) ToServiceEventRuleMapOutputWithContext ¶
func (i ServiceEventRuleMap) ToServiceEventRuleMapOutputWithContext(ctx context.Context) ServiceEventRuleMapOutput
type ServiceEventRuleMapInput ¶
type ServiceEventRuleMapInput interface { pulumi.Input ToServiceEventRuleMapOutput() ServiceEventRuleMapOutput ToServiceEventRuleMapOutputWithContext(context.Context) ServiceEventRuleMapOutput }
ServiceEventRuleMapInput is an input type that accepts ServiceEventRuleMap and ServiceEventRuleMapOutput values. You can construct a concrete instance of `ServiceEventRuleMapInput` via:
ServiceEventRuleMap{ "key": ServiceEventRuleArgs{...} }
type ServiceEventRuleMapOutput ¶
type ServiceEventRuleMapOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleMapOutput) ElementType ¶
func (ServiceEventRuleMapOutput) ElementType() reflect.Type
func (ServiceEventRuleMapOutput) MapIndex ¶
func (o ServiceEventRuleMapOutput) MapIndex(k pulumi.StringInput) ServiceEventRuleOutput
func (ServiceEventRuleMapOutput) ToServiceEventRuleMapOutput ¶
func (o ServiceEventRuleMapOutput) ToServiceEventRuleMapOutput() ServiceEventRuleMapOutput
func (ServiceEventRuleMapOutput) ToServiceEventRuleMapOutputWithContext ¶
func (o ServiceEventRuleMapOutput) ToServiceEventRuleMapOutputWithContext(ctx context.Context) ServiceEventRuleMapOutput
type ServiceEventRuleOutput ¶
type ServiceEventRuleOutput struct {
*pulumi.OutputState
}
func (ServiceEventRuleOutput) ElementType ¶
func (ServiceEventRuleOutput) ElementType() reflect.Type
func (ServiceEventRuleOutput) ToServiceEventRuleOutput ¶
func (o ServiceEventRuleOutput) ToServiceEventRuleOutput() ServiceEventRuleOutput
func (ServiceEventRuleOutput) ToServiceEventRuleOutputWithContext ¶
func (o ServiceEventRuleOutput) ToServiceEventRuleOutputWithContext(ctx context.Context) ServiceEventRuleOutput
func (ServiceEventRuleOutput) ToServiceEventRulePtrOutput ¶
func (o ServiceEventRuleOutput) ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput
func (ServiceEventRuleOutput) ToServiceEventRulePtrOutputWithContext ¶
func (o ServiceEventRuleOutput) ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput
type ServiceEventRulePtrInput ¶
type ServiceEventRulePtrInput interface { pulumi.Input ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput }
type ServiceEventRulePtrOutput ¶
type ServiceEventRulePtrOutput struct {
*pulumi.OutputState
}
func (ServiceEventRulePtrOutput) ElementType ¶
func (ServiceEventRulePtrOutput) ElementType() reflect.Type
func (ServiceEventRulePtrOutput) ToServiceEventRulePtrOutput ¶
func (o ServiceEventRulePtrOutput) ToServiceEventRulePtrOutput() ServiceEventRulePtrOutput
func (ServiceEventRulePtrOutput) ToServiceEventRulePtrOutputWithContext ¶
func (o ServiceEventRulePtrOutput) ToServiceEventRulePtrOutputWithContext(ctx context.Context) ServiceEventRulePtrOutput
type ServiceEventRuleState ¶
type ServiceEventRuleState struct { // Actions to apply to an event if the conditions match. Actions ServiceEventRuleActionsPtrInput // Conditions evaluated to check if an event matches this event rule. Conditions ServiceEventRuleConditionsPtrInput // Indicates whether the rule is disabled and would therefore not be evaluated. Disabled pulumi.BoolPtrInput // Position/index of the rule within the service. Position pulumi.IntPtrInput // The ID of the service that the rule belongs to. Service pulumi.StringPtrInput // Settings for [scheduling the rule](https://support.pagerduty.com/docs/rulesets#section-scheduled-event-rules). TimeFrame ServiceEventRuleTimeFramePtrInput // Populate variables from event payloads and use those variables in other event actions. *NOTE: A rule can have multiple `variable` objects.* Variables ServiceEventRuleVariableArrayInput }
func (ServiceEventRuleState) ElementType ¶
func (ServiceEventRuleState) ElementType() reflect.Type
type ServiceEventRuleTimeFrame ¶
type ServiceEventRuleTimeFrame struct { // Values for executing the rule during a specific time period. ActiveBetweens []ServiceEventRuleTimeFrameActiveBetween `pulumi:"activeBetweens"` // Values for executing the rule on a recurring schedule. ScheduledWeeklies []ServiceEventRuleTimeFrameScheduledWeekly `pulumi:"scheduledWeeklies"` }
type ServiceEventRuleTimeFrameActiveBetween ¶
type ServiceEventRuleTimeFrameActiveBetween struct { // Ending of the scheduled time when the rule should execute. Unix timestamp in milliseconds. EndTime *int `pulumi:"endTime"` // Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`. StartTime *int `pulumi:"startTime"` }
type ServiceEventRuleTimeFrameActiveBetweenArgs ¶
type ServiceEventRuleTimeFrameActiveBetweenArgs struct { // Ending of the scheduled time when the rule should execute. Unix timestamp in milliseconds. EndTime pulumi.IntPtrInput `pulumi:"endTime"` // Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`. StartTime pulumi.IntPtrInput `pulumi:"startTime"` }
func (ServiceEventRuleTimeFrameActiveBetweenArgs) ElementType ¶
func (ServiceEventRuleTimeFrameActiveBetweenArgs) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutput ¶
func (i ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput
func (ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext ¶
func (i ServiceEventRuleTimeFrameActiveBetweenArgs) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput
type ServiceEventRuleTimeFrameActiveBetweenArray ¶
type ServiceEventRuleTimeFrameActiveBetweenArray []ServiceEventRuleTimeFrameActiveBetweenInput
func (ServiceEventRuleTimeFrameActiveBetweenArray) ElementType ¶
func (ServiceEventRuleTimeFrameActiveBetweenArray) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput ¶
func (i ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput
func (ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext ¶
func (i ServiceEventRuleTimeFrameActiveBetweenArray) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput
type ServiceEventRuleTimeFrameActiveBetweenArrayInput ¶
type ServiceEventRuleTimeFrameActiveBetweenArrayInput interface { pulumi.Input ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput }
ServiceEventRuleTimeFrameActiveBetweenArrayInput is an input type that accepts ServiceEventRuleTimeFrameActiveBetweenArray and ServiceEventRuleTimeFrameActiveBetweenArrayOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameActiveBetweenArrayInput` via:
ServiceEventRuleTimeFrameActiveBetweenArray{ ServiceEventRuleTimeFrameActiveBetweenArgs{...} }
type ServiceEventRuleTimeFrameActiveBetweenArrayOutput ¶
type ServiceEventRuleTimeFrameActiveBetweenArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ElementType ¶
func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput ¶
func (o ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutput() ServiceEventRuleTimeFrameActiveBetweenArrayOutput
func (ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext ¶
func (o ServiceEventRuleTimeFrameActiveBetweenArrayOutput) ToServiceEventRuleTimeFrameActiveBetweenArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenArrayOutput
type ServiceEventRuleTimeFrameActiveBetweenInput ¶
type ServiceEventRuleTimeFrameActiveBetweenInput interface { pulumi.Input ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput }
ServiceEventRuleTimeFrameActiveBetweenInput is an input type that accepts ServiceEventRuleTimeFrameActiveBetweenArgs and ServiceEventRuleTimeFrameActiveBetweenOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameActiveBetweenInput` via:
ServiceEventRuleTimeFrameActiveBetweenArgs{...}
type ServiceEventRuleTimeFrameActiveBetweenOutput ¶
type ServiceEventRuleTimeFrameActiveBetweenOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleTimeFrameActiveBetweenOutput) ElementType ¶
func (ServiceEventRuleTimeFrameActiveBetweenOutput) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameActiveBetweenOutput) EndTime ¶
func (o ServiceEventRuleTimeFrameActiveBetweenOutput) EndTime() pulumi.IntPtrOutput
Ending of the scheduled time when the rule should execute. Unix timestamp in milliseconds.
func (ServiceEventRuleTimeFrameActiveBetweenOutput) StartTime ¶
func (o ServiceEventRuleTimeFrameActiveBetweenOutput) StartTime() pulumi.IntPtrOutput
Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`.
func (ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutput ¶
func (o ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutput() ServiceEventRuleTimeFrameActiveBetweenOutput
func (ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext ¶
func (o ServiceEventRuleTimeFrameActiveBetweenOutput) ToServiceEventRuleTimeFrameActiveBetweenOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameActiveBetweenOutput
type ServiceEventRuleTimeFrameArgs ¶
type ServiceEventRuleTimeFrameArgs struct { // Values for executing the rule during a specific time period. ActiveBetweens ServiceEventRuleTimeFrameActiveBetweenArrayInput `pulumi:"activeBetweens"` // Values for executing the rule on a recurring schedule. ScheduledWeeklies ServiceEventRuleTimeFrameScheduledWeeklyArrayInput `pulumi:"scheduledWeeklies"` }
func (ServiceEventRuleTimeFrameArgs) ElementType ¶
func (ServiceEventRuleTimeFrameArgs) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutput ¶
func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput
func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutputWithContext ¶
func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFrameOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameOutput
func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutput ¶
func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput
func (ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutputWithContext ¶
func (i ServiceEventRuleTimeFrameArgs) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput
type ServiceEventRuleTimeFrameInput ¶
type ServiceEventRuleTimeFrameInput interface { pulumi.Input ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput ToServiceEventRuleTimeFrameOutputWithContext(context.Context) ServiceEventRuleTimeFrameOutput }
ServiceEventRuleTimeFrameInput is an input type that accepts ServiceEventRuleTimeFrameArgs and ServiceEventRuleTimeFrameOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameInput` via:
ServiceEventRuleTimeFrameArgs{...}
type ServiceEventRuleTimeFrameOutput ¶
type ServiceEventRuleTimeFrameOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleTimeFrameOutput) ActiveBetweens ¶
func (o ServiceEventRuleTimeFrameOutput) ActiveBetweens() ServiceEventRuleTimeFrameActiveBetweenArrayOutput
Values for executing the rule during a specific time period.
func (ServiceEventRuleTimeFrameOutput) ElementType ¶
func (ServiceEventRuleTimeFrameOutput) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameOutput) ScheduledWeeklies ¶
func (o ServiceEventRuleTimeFrameOutput) ScheduledWeeklies() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
Values for executing the rule on a recurring schedule.
func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutput ¶
func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutput() ServiceEventRuleTimeFrameOutput
func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutputWithContext ¶
func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFrameOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameOutput
func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutput ¶
func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput
func (ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutputWithContext ¶
func (o ServiceEventRuleTimeFrameOutput) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput
type ServiceEventRuleTimeFramePtrInput ¶
type ServiceEventRuleTimeFramePtrInput interface { pulumi.Input ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput ToServiceEventRuleTimeFramePtrOutputWithContext(context.Context) ServiceEventRuleTimeFramePtrOutput }
ServiceEventRuleTimeFramePtrInput is an input type that accepts ServiceEventRuleTimeFrameArgs, ServiceEventRuleTimeFramePtr and ServiceEventRuleTimeFramePtrOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFramePtrInput` via:
ServiceEventRuleTimeFrameArgs{...} or: nil
func ServiceEventRuleTimeFramePtr ¶
func ServiceEventRuleTimeFramePtr(v *ServiceEventRuleTimeFrameArgs) ServiceEventRuleTimeFramePtrInput
type ServiceEventRuleTimeFramePtrOutput ¶
type ServiceEventRuleTimeFramePtrOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleTimeFramePtrOutput) ActiveBetweens ¶
func (o ServiceEventRuleTimeFramePtrOutput) ActiveBetweens() ServiceEventRuleTimeFrameActiveBetweenArrayOutput
Values for executing the rule during a specific time period.
func (ServiceEventRuleTimeFramePtrOutput) Elem ¶
func (o ServiceEventRuleTimeFramePtrOutput) Elem() ServiceEventRuleTimeFrameOutput
func (ServiceEventRuleTimeFramePtrOutput) ElementType ¶
func (ServiceEventRuleTimeFramePtrOutput) ElementType() reflect.Type
func (ServiceEventRuleTimeFramePtrOutput) ScheduledWeeklies ¶
func (o ServiceEventRuleTimeFramePtrOutput) ScheduledWeeklies() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
Values for executing the rule on a recurring schedule.
func (ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutput ¶
func (o ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutput() ServiceEventRuleTimeFramePtrOutput
func (ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutputWithContext ¶
func (o ServiceEventRuleTimeFramePtrOutput) ToServiceEventRuleTimeFramePtrOutputWithContext(ctx context.Context) ServiceEventRuleTimeFramePtrOutput
type ServiceEventRuleTimeFrameScheduledWeekly ¶
type ServiceEventRuleTimeFrameScheduledWeekly struct { // Length of time the schedule will be active. Unix timestamp in milliseconds. Duration *int `pulumi:"duration"` // Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`. StartTime *int `pulumi:"startTime"` // Timezone for the given schedule. Timezone *string `pulumi:"timezone"` // An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday. Weekdays []int `pulumi:"weekdays"` }
type ServiceEventRuleTimeFrameScheduledWeeklyArgs ¶
type ServiceEventRuleTimeFrameScheduledWeeklyArgs struct { // Length of time the schedule will be active. Unix timestamp in milliseconds. Duration pulumi.IntPtrInput `pulumi:"duration"` // Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`. StartTime pulumi.IntPtrInput `pulumi:"startTime"` // Timezone for the given schedule. Timezone pulumi.StringPtrInput `pulumi:"timezone"` // An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday. Weekdays pulumi.IntArrayInput `pulumi:"weekdays"` }
func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ElementType ¶
func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutput ¶
func (i ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput
func (ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext ¶
func (i ServiceEventRuleTimeFrameScheduledWeeklyArgs) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput
type ServiceEventRuleTimeFrameScheduledWeeklyArray ¶
type ServiceEventRuleTimeFrameScheduledWeeklyArray []ServiceEventRuleTimeFrameScheduledWeeklyInput
func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ElementType ¶
func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput ¶
func (i ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
func (ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext ¶
func (i ServiceEventRuleTimeFrameScheduledWeeklyArray) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
type ServiceEventRuleTimeFrameScheduledWeeklyArrayInput ¶
type ServiceEventRuleTimeFrameScheduledWeeklyArrayInput interface { pulumi.Input ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput }
ServiceEventRuleTimeFrameScheduledWeeklyArrayInput is an input type that accepts ServiceEventRuleTimeFrameScheduledWeeklyArray and ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameScheduledWeeklyArrayInput` via:
ServiceEventRuleTimeFrameScheduledWeeklyArray{ ServiceEventRuleTimeFrameScheduledWeeklyArgs{...} }
type ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput ¶
type ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ElementType ¶
func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput ¶
func (o ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutput() ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
func (ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext ¶
func (o ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput) ToServiceEventRuleTimeFrameScheduledWeeklyArrayOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyArrayOutput
type ServiceEventRuleTimeFrameScheduledWeeklyInput ¶
type ServiceEventRuleTimeFrameScheduledWeeklyInput interface { pulumi.Input ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput }
ServiceEventRuleTimeFrameScheduledWeeklyInput is an input type that accepts ServiceEventRuleTimeFrameScheduledWeeklyArgs and ServiceEventRuleTimeFrameScheduledWeeklyOutput values. You can construct a concrete instance of `ServiceEventRuleTimeFrameScheduledWeeklyInput` via:
ServiceEventRuleTimeFrameScheduledWeeklyArgs{...}
type ServiceEventRuleTimeFrameScheduledWeeklyOutput ¶
type ServiceEventRuleTimeFrameScheduledWeeklyOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) Duration ¶
func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) Duration() pulumi.IntPtrOutput
Length of time the schedule will be active. Unix timestamp in milliseconds.
func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ElementType ¶
func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ElementType() reflect.Type
func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) StartTime ¶
func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) StartTime() pulumi.IntPtrOutput
Time when the schedule will start. Unix timestamp in milliseconds. For example, if you have a rule with a `startTime` of `0` and a `duration` of `60,000` then that rule would be active from `00:00` to `00:01`. If the `startTime` was `3,600,000` the it would be active starting at `01:00`.
func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) Timezone ¶
func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) Timezone() pulumi.StringPtrOutput
Timezone for the given schedule.
func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutput ¶
func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutput() ServiceEventRuleTimeFrameScheduledWeeklyOutput
func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext ¶
func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) ToServiceEventRuleTimeFrameScheduledWeeklyOutputWithContext(ctx context.Context) ServiceEventRuleTimeFrameScheduledWeeklyOutput
func (ServiceEventRuleTimeFrameScheduledWeeklyOutput) Weekdays ¶
func (o ServiceEventRuleTimeFrameScheduledWeeklyOutput) Weekdays() pulumi.IntArrayOutput
An integer array representing which days during the week the rule executes. For example `weekdays = [1,3,7]` would execute on Monday, Wednesday and Sunday.
type ServiceEventRuleVariable ¶
type ServiceEventRuleVariable struct { // The name of the variable. Name *string `pulumi:"name"` // The parameters for performing the operation to populate the variable. Parameters []ServiceEventRuleVariableParameter `pulumi:"parameters"` // Type of operation to populate the variable. Usually `regex`. Type *string `pulumi:"type"` }
type ServiceEventRuleVariableArgs ¶
type ServiceEventRuleVariableArgs struct { // The name of the variable. Name pulumi.StringPtrInput `pulumi:"name"` // The parameters for performing the operation to populate the variable. Parameters ServiceEventRuleVariableParameterArrayInput `pulumi:"parameters"` // Type of operation to populate the variable. Usually `regex`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (ServiceEventRuleVariableArgs) ElementType ¶
func (ServiceEventRuleVariableArgs) ElementType() reflect.Type
func (ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutput ¶
func (i ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput
func (ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutputWithContext ¶
func (i ServiceEventRuleVariableArgs) ToServiceEventRuleVariableOutputWithContext(ctx context.Context) ServiceEventRuleVariableOutput
type ServiceEventRuleVariableArray ¶
type ServiceEventRuleVariableArray []ServiceEventRuleVariableInput
func (ServiceEventRuleVariableArray) ElementType ¶
func (ServiceEventRuleVariableArray) ElementType() reflect.Type
func (ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutput ¶
func (i ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput
func (ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutputWithContext ¶
func (i ServiceEventRuleVariableArray) ToServiceEventRuleVariableArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableArrayOutput
type ServiceEventRuleVariableArrayInput ¶
type ServiceEventRuleVariableArrayInput interface { pulumi.Input ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput ToServiceEventRuleVariableArrayOutputWithContext(context.Context) ServiceEventRuleVariableArrayOutput }
ServiceEventRuleVariableArrayInput is an input type that accepts ServiceEventRuleVariableArray and ServiceEventRuleVariableArrayOutput values. You can construct a concrete instance of `ServiceEventRuleVariableArrayInput` via:
ServiceEventRuleVariableArray{ ServiceEventRuleVariableArgs{...} }
type ServiceEventRuleVariableArrayOutput ¶
type ServiceEventRuleVariableArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleVariableArrayOutput) ElementType ¶
func (ServiceEventRuleVariableArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleVariableArrayOutput) Index ¶
func (o ServiceEventRuleVariableArrayOutput) Index(i pulumi.IntInput) ServiceEventRuleVariableOutput
func (ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutput ¶
func (o ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutput() ServiceEventRuleVariableArrayOutput
func (ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutputWithContext ¶
func (o ServiceEventRuleVariableArrayOutput) ToServiceEventRuleVariableArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableArrayOutput
type ServiceEventRuleVariableInput ¶
type ServiceEventRuleVariableInput interface { pulumi.Input ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput ToServiceEventRuleVariableOutputWithContext(context.Context) ServiceEventRuleVariableOutput }
ServiceEventRuleVariableInput is an input type that accepts ServiceEventRuleVariableArgs and ServiceEventRuleVariableOutput values. You can construct a concrete instance of `ServiceEventRuleVariableInput` via:
ServiceEventRuleVariableArgs{...}
type ServiceEventRuleVariableOutput ¶
type ServiceEventRuleVariableOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleVariableOutput) ElementType ¶
func (ServiceEventRuleVariableOutput) ElementType() reflect.Type
func (ServiceEventRuleVariableOutput) Name ¶
func (o ServiceEventRuleVariableOutput) Name() pulumi.StringPtrOutput
The name of the variable.
func (ServiceEventRuleVariableOutput) Parameters ¶
func (o ServiceEventRuleVariableOutput) Parameters() ServiceEventRuleVariableParameterArrayOutput
The parameters for performing the operation to populate the variable.
func (ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutput ¶
func (o ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutput() ServiceEventRuleVariableOutput
func (ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutputWithContext ¶
func (o ServiceEventRuleVariableOutput) ToServiceEventRuleVariableOutputWithContext(ctx context.Context) ServiceEventRuleVariableOutput
func (ServiceEventRuleVariableOutput) Type ¶
func (o ServiceEventRuleVariableOutput) Type() pulumi.StringPtrOutput
Type of operation to populate the variable. Usually `regex`.
type ServiceEventRuleVariableParameter ¶
type ServiceEventRuleVariableParameter struct { // Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef). Path *string `pulumi:"path"` // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value *string `pulumi:"value"` }
type ServiceEventRuleVariableParameterArgs ¶
type ServiceEventRuleVariableParameterArgs struct { // Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef). Path pulumi.StringPtrInput `pulumi:"path"` // The value for the operation. For example, an RE2 regular expression for regex-type variables. Value pulumi.StringPtrInput `pulumi:"value"` }
func (ServiceEventRuleVariableParameterArgs) ElementType ¶
func (ServiceEventRuleVariableParameterArgs) ElementType() reflect.Type
func (ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutput ¶
func (i ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput
func (ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutputWithContext ¶
func (i ServiceEventRuleVariableParameterArgs) ToServiceEventRuleVariableParameterOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterOutput
type ServiceEventRuleVariableParameterArray ¶
type ServiceEventRuleVariableParameterArray []ServiceEventRuleVariableParameterInput
func (ServiceEventRuleVariableParameterArray) ElementType ¶
func (ServiceEventRuleVariableParameterArray) ElementType() reflect.Type
func (ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutput ¶
func (i ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput
func (ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutputWithContext ¶
func (i ServiceEventRuleVariableParameterArray) ToServiceEventRuleVariableParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterArrayOutput
type ServiceEventRuleVariableParameterArrayInput ¶
type ServiceEventRuleVariableParameterArrayInput interface { pulumi.Input ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput ToServiceEventRuleVariableParameterArrayOutputWithContext(context.Context) ServiceEventRuleVariableParameterArrayOutput }
ServiceEventRuleVariableParameterArrayInput is an input type that accepts ServiceEventRuleVariableParameterArray and ServiceEventRuleVariableParameterArrayOutput values. You can construct a concrete instance of `ServiceEventRuleVariableParameterArrayInput` via:
ServiceEventRuleVariableParameterArray{ ServiceEventRuleVariableParameterArgs{...} }
type ServiceEventRuleVariableParameterArrayOutput ¶
type ServiceEventRuleVariableParameterArrayOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleVariableParameterArrayOutput) ElementType ¶
func (ServiceEventRuleVariableParameterArrayOutput) ElementType() reflect.Type
func (ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutput ¶
func (o ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutput() ServiceEventRuleVariableParameterArrayOutput
func (ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutputWithContext ¶
func (o ServiceEventRuleVariableParameterArrayOutput) ToServiceEventRuleVariableParameterArrayOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterArrayOutput
type ServiceEventRuleVariableParameterInput ¶
type ServiceEventRuleVariableParameterInput interface { pulumi.Input ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput ToServiceEventRuleVariableParameterOutputWithContext(context.Context) ServiceEventRuleVariableParameterOutput }
ServiceEventRuleVariableParameterInput is an input type that accepts ServiceEventRuleVariableParameterArgs and ServiceEventRuleVariableParameterOutput values. You can construct a concrete instance of `ServiceEventRuleVariableParameterInput` via:
ServiceEventRuleVariableParameterArgs{...}
type ServiceEventRuleVariableParameterOutput ¶
type ServiceEventRuleVariableParameterOutput struct{ *pulumi.OutputState }
func (ServiceEventRuleVariableParameterOutput) ElementType ¶
func (ServiceEventRuleVariableParameterOutput) ElementType() reflect.Type
func (ServiceEventRuleVariableParameterOutput) Path ¶
func (o ServiceEventRuleVariableParameterOutput) Path() pulumi.StringPtrOutput
Path to a field in an event, in dot-notation. For Event Rules on a Service, this will have to be a [PD-CEF field](https://support.pagerduty.com/docs/pd-cef).
func (ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutput ¶
func (o ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutput() ServiceEventRuleVariableParameterOutput
func (ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutputWithContext ¶
func (o ServiceEventRuleVariableParameterOutput) ToServiceEventRuleVariableParameterOutputWithContext(ctx context.Context) ServiceEventRuleVariableParameterOutput
func (ServiceEventRuleVariableParameterOutput) Value ¶
func (o ServiceEventRuleVariableParameterOutput) Value() pulumi.StringPtrOutput
The value for the operation. For example, an RE2 regular expression for regex-type variables.
type ServiceIncidentUrgencyRule ¶
type ServiceIncidentUrgencyRule struct { // Incidents' urgency during support hours. DuringSupportHours *ServiceIncidentUrgencyRuleDuringSupportHours `pulumi:"duringSupportHours"` // Incidents' urgency outside of support hours. OutsideSupportHours *ServiceIncidentUrgencyRuleOutsideSupportHours `pulumi:"outsideSupportHours"` // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type string `pulumi:"type"` // The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool. Urgency *string `pulumi:"urgency"` }
type ServiceIncidentUrgencyRuleArgs ¶
type ServiceIncidentUrgencyRuleArgs struct { // Incidents' urgency during support hours. DuringSupportHours ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput `pulumi:"duringSupportHours"` // Incidents' urgency outside of support hours. OutsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput `pulumi:"outsideSupportHours"` // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type pulumi.StringInput `pulumi:"type"` // The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool. Urgency pulumi.StringPtrInput `pulumi:"urgency"` }
func (ServiceIncidentUrgencyRuleArgs) ElementType ¶
func (ServiceIncidentUrgencyRuleArgs) ElementType() reflect.Type
func (ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutput ¶
func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutput() ServiceIncidentUrgencyRuleOutput
func (ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutputWithContext ¶
func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRuleOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutput
func (ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutput ¶
func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput
func (ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutputWithContext ¶
func (i ServiceIncidentUrgencyRuleArgs) ToServiceIncidentUrgencyRulePtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRulePtrOutput
type ServiceIncidentUrgencyRuleDuringSupportHours ¶
type ServiceIncidentUrgencyRuleDuringSupportHours struct { // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type *string `pulumi:"type"` // The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool. Urgency *string `pulumi:"urgency"` }
type ServiceIncidentUrgencyRuleDuringSupportHoursArgs ¶
type ServiceIncidentUrgencyRuleDuringSupportHoursArgs struct { // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type pulumi.StringPtrInput `pulumi:"type"` // The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool. Urgency pulumi.StringPtrInput `pulumi:"urgency"` }
func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ElementType ¶
func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ElementType() reflect.Type
func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput ¶
func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput() ServiceIncidentUrgencyRuleDuringSupportHoursOutput
func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext ¶
func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursOutput
func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput ¶
func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext ¶
func (i ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
type ServiceIncidentUrgencyRuleDuringSupportHoursInput ¶
type ServiceIncidentUrgencyRuleDuringSupportHoursInput interface { pulumi.Input ToServiceIncidentUrgencyRuleDuringSupportHoursOutput() ServiceIncidentUrgencyRuleDuringSupportHoursOutput ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext(context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursOutput }
ServiceIncidentUrgencyRuleDuringSupportHoursInput is an input type that accepts ServiceIncidentUrgencyRuleDuringSupportHoursArgs and ServiceIncidentUrgencyRuleDuringSupportHoursOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleDuringSupportHoursInput` via:
ServiceIncidentUrgencyRuleDuringSupportHoursArgs{...}
type ServiceIncidentUrgencyRuleDuringSupportHoursOutput ¶
type ServiceIncidentUrgencyRuleDuringSupportHoursOutput struct{ *pulumi.OutputState }
func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ElementType ¶
func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ElementType() reflect.Type
func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput ¶
func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutput() ServiceIncidentUrgencyRuleDuringSupportHoursOutput
func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext ¶
func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursOutput
func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput ¶
func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext ¶
func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) Type ¶
func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) Type() pulumi.StringPtrOutput
The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
func (ServiceIncidentUrgencyRuleDuringSupportHoursOutput) Urgency ¶
func (o ServiceIncidentUrgencyRuleDuringSupportHoursOutput) Urgency() pulumi.StringPtrOutput
The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
type ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput ¶
type ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput interface { pulumi.Input ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput }
ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput is an input type that accepts ServiceIncidentUrgencyRuleDuringSupportHoursArgs, ServiceIncidentUrgencyRuleDuringSupportHoursPtr and ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput` via:
ServiceIncidentUrgencyRuleDuringSupportHoursArgs{...} or: nil
func ServiceIncidentUrgencyRuleDuringSupportHoursPtr ¶
func ServiceIncidentUrgencyRuleDuringSupportHoursPtr(v *ServiceIncidentUrgencyRuleDuringSupportHoursArgs) ServiceIncidentUrgencyRuleDuringSupportHoursPtrInput
type ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput ¶
type ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput struct{ *pulumi.OutputState }
func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ElementType ¶
func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ElementType() reflect.Type
func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput ¶
func (o ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext ¶
func (o ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleDuringSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) Type ¶
The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
func (ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) Urgency ¶
func (o ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput) Urgency() pulumi.StringPtrOutput
The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
type ServiceIncidentUrgencyRuleInput ¶
type ServiceIncidentUrgencyRuleInput interface { pulumi.Input ToServiceIncidentUrgencyRuleOutput() ServiceIncidentUrgencyRuleOutput ToServiceIncidentUrgencyRuleOutputWithContext(context.Context) ServiceIncidentUrgencyRuleOutput }
ServiceIncidentUrgencyRuleInput is an input type that accepts ServiceIncidentUrgencyRuleArgs and ServiceIncidentUrgencyRuleOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleInput` via:
ServiceIncidentUrgencyRuleArgs{...}
type ServiceIncidentUrgencyRuleOutput ¶
type ServiceIncidentUrgencyRuleOutput struct{ *pulumi.OutputState }
func (ServiceIncidentUrgencyRuleOutput) DuringSupportHours ¶
func (o ServiceIncidentUrgencyRuleOutput) DuringSupportHours() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
Incidents' urgency during support hours.
func (ServiceIncidentUrgencyRuleOutput) ElementType ¶
func (ServiceIncidentUrgencyRuleOutput) ElementType() reflect.Type
func (ServiceIncidentUrgencyRuleOutput) OutsideSupportHours ¶
func (o ServiceIncidentUrgencyRuleOutput) OutsideSupportHours() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
Incidents' urgency outside of support hours.
func (ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutput ¶
func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutput() ServiceIncidentUrgencyRuleOutput
func (ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutputWithContext ¶
func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRuleOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutput
func (ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutput ¶
func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput
func (ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext ¶
func (o ServiceIncidentUrgencyRuleOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRulePtrOutput
func (ServiceIncidentUrgencyRuleOutput) Type ¶
func (o ServiceIncidentUrgencyRuleOutput) Type() pulumi.StringOutput
The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
func (ServiceIncidentUrgencyRuleOutput) Urgency ¶
func (o ServiceIncidentUrgencyRuleOutput) Urgency() pulumi.StringPtrOutput
The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
type ServiceIncidentUrgencyRuleOutsideSupportHours ¶
type ServiceIncidentUrgencyRuleOutsideSupportHours struct { // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type *string `pulumi:"type"` // The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool. Urgency *string `pulumi:"urgency"` }
type ServiceIncidentUrgencyRuleOutsideSupportHoursArgs ¶
type ServiceIncidentUrgencyRuleOutsideSupportHoursArgs struct { // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type pulumi.StringPtrInput `pulumi:"type"` // The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool. Urgency pulumi.StringPtrInput `pulumi:"urgency"` }
func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ElementType ¶
func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ElementType() reflect.Type
func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput ¶
func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext ¶
func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput ¶
func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext ¶
func (i ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
type ServiceIncidentUrgencyRuleOutsideSupportHoursInput ¶
type ServiceIncidentUrgencyRuleOutsideSupportHoursInput interface { pulumi.Input ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursOutput ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext(context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursOutput }
ServiceIncidentUrgencyRuleOutsideSupportHoursInput is an input type that accepts ServiceIncidentUrgencyRuleOutsideSupportHoursArgs and ServiceIncidentUrgencyRuleOutsideSupportHoursOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleOutsideSupportHoursInput` via:
ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{...}
type ServiceIncidentUrgencyRuleOutsideSupportHoursOutput ¶
type ServiceIncidentUrgencyRuleOutsideSupportHoursOutput struct{ *pulumi.OutputState }
func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ElementType ¶
func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ElementType() reflect.Type
func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput ¶
func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext ¶
func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursOutput
func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput ¶
func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext ¶
func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) Type ¶
func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) Type() pulumi.StringPtrOutput
The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
func (ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) Urgency ¶
func (o ServiceIncidentUrgencyRuleOutsideSupportHoursOutput) Urgency() pulumi.StringPtrOutput
The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput ¶
type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput interface { pulumi.Input ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput }
ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput is an input type that accepts ServiceIncidentUrgencyRuleOutsideSupportHoursArgs, ServiceIncidentUrgencyRuleOutsideSupportHoursPtr and ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput` via:
ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{...} or: nil
func ServiceIncidentUrgencyRuleOutsideSupportHoursPtr ¶
func ServiceIncidentUrgencyRuleOutsideSupportHoursPtr(v *ServiceIncidentUrgencyRuleOutsideSupportHoursArgs) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrInput
type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput ¶
type ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput struct{ *pulumi.OutputState }
func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ElementType ¶
func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ElementType() reflect.Type
func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput ¶
func (o ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext ¶
func (o ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) ToServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) Type ¶
The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
func (ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) Urgency ¶
func (o ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput) Urgency() pulumi.StringPtrOutput
The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
type ServiceIncidentUrgencyRulePtrInput ¶
type ServiceIncidentUrgencyRulePtrInput interface { pulumi.Input ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput ToServiceIncidentUrgencyRulePtrOutputWithContext(context.Context) ServiceIncidentUrgencyRulePtrOutput }
ServiceIncidentUrgencyRulePtrInput is an input type that accepts ServiceIncidentUrgencyRuleArgs, ServiceIncidentUrgencyRulePtr and ServiceIncidentUrgencyRulePtrOutput values. You can construct a concrete instance of `ServiceIncidentUrgencyRulePtrInput` via:
ServiceIncidentUrgencyRuleArgs{...} or: nil
func ServiceIncidentUrgencyRulePtr ¶
func ServiceIncidentUrgencyRulePtr(v *ServiceIncidentUrgencyRuleArgs) ServiceIncidentUrgencyRulePtrInput
type ServiceIncidentUrgencyRulePtrOutput ¶
type ServiceIncidentUrgencyRulePtrOutput struct{ *pulumi.OutputState }
func (ServiceIncidentUrgencyRulePtrOutput) DuringSupportHours ¶
func (o ServiceIncidentUrgencyRulePtrOutput) DuringSupportHours() ServiceIncidentUrgencyRuleDuringSupportHoursPtrOutput
Incidents' urgency during support hours.
func (ServiceIncidentUrgencyRulePtrOutput) Elem ¶
func (o ServiceIncidentUrgencyRulePtrOutput) Elem() ServiceIncidentUrgencyRuleOutput
func (ServiceIncidentUrgencyRulePtrOutput) ElementType ¶
func (ServiceIncidentUrgencyRulePtrOutput) ElementType() reflect.Type
func (ServiceIncidentUrgencyRulePtrOutput) OutsideSupportHours ¶
func (o ServiceIncidentUrgencyRulePtrOutput) OutsideSupportHours() ServiceIncidentUrgencyRuleOutsideSupportHoursPtrOutput
Incidents' urgency outside of support hours.
func (ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutput ¶
func (o ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutput() ServiceIncidentUrgencyRulePtrOutput
func (ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext ¶
func (o ServiceIncidentUrgencyRulePtrOutput) ToServiceIncidentUrgencyRulePtrOutputWithContext(ctx context.Context) ServiceIncidentUrgencyRulePtrOutput
func (ServiceIncidentUrgencyRulePtrOutput) Type ¶
func (o ServiceIncidentUrgencyRulePtrOutput) Type() pulumi.StringPtrOutput
The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
func (ServiceIncidentUrgencyRulePtrOutput) Urgency ¶
func (o ServiceIncidentUrgencyRulePtrOutput) Urgency() pulumi.StringPtrOutput
The urgency: `low` Notify responders (does not escalate), `high` (follows escalation rules) or `severityBased` Set's the urgency of the incident based on the severity set by the triggering monitoring tool.
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceIntegration ¶
type ServiceIntegration struct { pulumi.CustomResourceState // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"` // This is the unique fully-qualified email address used for routing emails to this integration for processing. IntegrationEmail pulumi.StringOutput `pulumi:"integrationEmail"` // This is the unique key used to route events to this integration when received via the PagerDuty Events API. IntegrationKey pulumi.StringOutput `pulumi:"integrationKey"` // The name of the service integration. Name pulumi.StringOutput `pulumi:"name"` // The ID of the service the integration should belong to. Service pulumi.StringOutput `pulumi:"service"` // The service type. Can be: // `awsCloudwatchInboundIntegration`, // `cloudkickInboundIntegration`, // `eventTransformerApiInboundIntegration`, // `eventsApiV2InboundIntegration` (requires service `alertCreation` to be `createAlertsAndIncidents`), // `genericEmailInboundIntegration`, // `genericEventsApiInboundIntegration`, // `keynoteInboundIntegration`, // `nagiosInboundIntegration`, // `pingdomInboundIntegration`or `sqlMonitorInboundIntegration`. Type pulumi.StringOutput `pulumi:"type"` // The ID of the vendor the integration should integrate with (e.g Datadog or Amazon Cloudwatch). Vendor pulumi.StringOutput `pulumi:"vendor"` }
A [service integration](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1services~1%7Bid%7D~1integrations/post) is an integration that belongs to a service.
## Import
Services can be imported using their related `service` id and service integration `id` separated by a dot, e.g.
```sh
$ pulumi import pagerduty:index/serviceIntegration:ServiceIntegration main PLSSSSS.PLIIIII
```
func GetServiceIntegration ¶
func GetServiceIntegration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceIntegrationState, opts ...pulumi.ResourceOption) (*ServiceIntegration, error)
GetServiceIntegration gets an existing ServiceIntegration 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 NewServiceIntegration ¶
func NewServiceIntegration(ctx *pulumi.Context, name string, args *ServiceIntegrationArgs, opts ...pulumi.ResourceOption) (*ServiceIntegration, error)
NewServiceIntegration registers a new resource with the given unique name, arguments, and options.
func (*ServiceIntegration) ElementType ¶
func (*ServiceIntegration) ElementType() reflect.Type
func (*ServiceIntegration) ToServiceIntegrationOutput ¶
func (i *ServiceIntegration) ToServiceIntegrationOutput() ServiceIntegrationOutput
func (*ServiceIntegration) ToServiceIntegrationOutputWithContext ¶
func (i *ServiceIntegration) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput
func (*ServiceIntegration) ToServiceIntegrationPtrOutput ¶
func (i *ServiceIntegration) ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput
func (*ServiceIntegration) ToServiceIntegrationPtrOutputWithContext ¶
func (i *ServiceIntegration) ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput
type ServiceIntegrationArgs ¶
type ServiceIntegrationArgs struct { // This is the unique fully-qualified email address used for routing emails to this integration for processing. IntegrationEmail pulumi.StringPtrInput // This is the unique key used to route events to this integration when received via the PagerDuty Events API. IntegrationKey pulumi.StringPtrInput // The name of the service integration. Name pulumi.StringPtrInput // The ID of the service the integration should belong to. Service pulumi.StringInput // The service type. Can be: // `awsCloudwatchInboundIntegration`, // `cloudkickInboundIntegration`, // `eventTransformerApiInboundIntegration`, // `eventsApiV2InboundIntegration` (requires service `alertCreation` to be `createAlertsAndIncidents`), // `genericEmailInboundIntegration`, // `genericEventsApiInboundIntegration`, // `keynoteInboundIntegration`, // `nagiosInboundIntegration`, // `pingdomInboundIntegration`or `sqlMonitorInboundIntegration`. Type pulumi.StringPtrInput // The ID of the vendor the integration should integrate with (e.g Datadog or Amazon Cloudwatch). Vendor pulumi.StringPtrInput }
The set of arguments for constructing a ServiceIntegration resource.
func (ServiceIntegrationArgs) ElementType ¶
func (ServiceIntegrationArgs) ElementType() reflect.Type
type ServiceIntegrationArray ¶
type ServiceIntegrationArray []ServiceIntegrationInput
func (ServiceIntegrationArray) ElementType ¶
func (ServiceIntegrationArray) ElementType() reflect.Type
func (ServiceIntegrationArray) ToServiceIntegrationArrayOutput ¶
func (i ServiceIntegrationArray) ToServiceIntegrationArrayOutput() ServiceIntegrationArrayOutput
func (ServiceIntegrationArray) ToServiceIntegrationArrayOutputWithContext ¶
func (i ServiceIntegrationArray) ToServiceIntegrationArrayOutputWithContext(ctx context.Context) ServiceIntegrationArrayOutput
type ServiceIntegrationArrayInput ¶
type ServiceIntegrationArrayInput interface { pulumi.Input ToServiceIntegrationArrayOutput() ServiceIntegrationArrayOutput ToServiceIntegrationArrayOutputWithContext(context.Context) ServiceIntegrationArrayOutput }
ServiceIntegrationArrayInput is an input type that accepts ServiceIntegrationArray and ServiceIntegrationArrayOutput values. You can construct a concrete instance of `ServiceIntegrationArrayInput` via:
ServiceIntegrationArray{ ServiceIntegrationArgs{...} }
type ServiceIntegrationArrayOutput ¶
type ServiceIntegrationArrayOutput struct{ *pulumi.OutputState }
func (ServiceIntegrationArrayOutput) ElementType ¶
func (ServiceIntegrationArrayOutput) ElementType() reflect.Type
func (ServiceIntegrationArrayOutput) Index ¶
func (o ServiceIntegrationArrayOutput) Index(i pulumi.IntInput) ServiceIntegrationOutput
func (ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutput ¶
func (o ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutput() ServiceIntegrationArrayOutput
func (ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutputWithContext ¶
func (o ServiceIntegrationArrayOutput) ToServiceIntegrationArrayOutputWithContext(ctx context.Context) ServiceIntegrationArrayOutput
type ServiceIntegrationInput ¶
type ServiceIntegrationInput interface { pulumi.Input ToServiceIntegrationOutput() ServiceIntegrationOutput ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput }
type ServiceIntegrationMap ¶
type ServiceIntegrationMap map[string]ServiceIntegrationInput
func (ServiceIntegrationMap) ElementType ¶
func (ServiceIntegrationMap) ElementType() reflect.Type
func (ServiceIntegrationMap) ToServiceIntegrationMapOutput ¶
func (i ServiceIntegrationMap) ToServiceIntegrationMapOutput() ServiceIntegrationMapOutput
func (ServiceIntegrationMap) ToServiceIntegrationMapOutputWithContext ¶
func (i ServiceIntegrationMap) ToServiceIntegrationMapOutputWithContext(ctx context.Context) ServiceIntegrationMapOutput
type ServiceIntegrationMapInput ¶
type ServiceIntegrationMapInput interface { pulumi.Input ToServiceIntegrationMapOutput() ServiceIntegrationMapOutput ToServiceIntegrationMapOutputWithContext(context.Context) ServiceIntegrationMapOutput }
ServiceIntegrationMapInput is an input type that accepts ServiceIntegrationMap and ServiceIntegrationMapOutput values. You can construct a concrete instance of `ServiceIntegrationMapInput` via:
ServiceIntegrationMap{ "key": ServiceIntegrationArgs{...} }
type ServiceIntegrationMapOutput ¶
type ServiceIntegrationMapOutput struct{ *pulumi.OutputState }
func (ServiceIntegrationMapOutput) ElementType ¶
func (ServiceIntegrationMapOutput) ElementType() reflect.Type
func (ServiceIntegrationMapOutput) MapIndex ¶
func (o ServiceIntegrationMapOutput) MapIndex(k pulumi.StringInput) ServiceIntegrationOutput
func (ServiceIntegrationMapOutput) ToServiceIntegrationMapOutput ¶
func (o ServiceIntegrationMapOutput) ToServiceIntegrationMapOutput() ServiceIntegrationMapOutput
func (ServiceIntegrationMapOutput) ToServiceIntegrationMapOutputWithContext ¶
func (o ServiceIntegrationMapOutput) ToServiceIntegrationMapOutputWithContext(ctx context.Context) ServiceIntegrationMapOutput
type ServiceIntegrationOutput ¶
type ServiceIntegrationOutput struct {
*pulumi.OutputState
}
func (ServiceIntegrationOutput) ElementType ¶
func (ServiceIntegrationOutput) ElementType() reflect.Type
func (ServiceIntegrationOutput) ToServiceIntegrationOutput ¶
func (o ServiceIntegrationOutput) ToServiceIntegrationOutput() ServiceIntegrationOutput
func (ServiceIntegrationOutput) ToServiceIntegrationOutputWithContext ¶
func (o ServiceIntegrationOutput) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput
func (ServiceIntegrationOutput) ToServiceIntegrationPtrOutput ¶
func (o ServiceIntegrationOutput) ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput
func (ServiceIntegrationOutput) ToServiceIntegrationPtrOutputWithContext ¶
func (o ServiceIntegrationOutput) ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput
type ServiceIntegrationPtrInput ¶
type ServiceIntegrationPtrInput interface { pulumi.Input ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput }
type ServiceIntegrationPtrOutput ¶
type ServiceIntegrationPtrOutput struct {
*pulumi.OutputState
}
func (ServiceIntegrationPtrOutput) ElementType ¶
func (ServiceIntegrationPtrOutput) ElementType() reflect.Type
func (ServiceIntegrationPtrOutput) ToServiceIntegrationPtrOutput ¶
func (o ServiceIntegrationPtrOutput) ToServiceIntegrationPtrOutput() ServiceIntegrationPtrOutput
func (ServiceIntegrationPtrOutput) ToServiceIntegrationPtrOutputWithContext ¶
func (o ServiceIntegrationPtrOutput) ToServiceIntegrationPtrOutputWithContext(ctx context.Context) ServiceIntegrationPtrOutput
type ServiceIntegrationState ¶
type ServiceIntegrationState struct { // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringPtrInput // This is the unique fully-qualified email address used for routing emails to this integration for processing. IntegrationEmail pulumi.StringPtrInput // This is the unique key used to route events to this integration when received via the PagerDuty Events API. IntegrationKey pulumi.StringPtrInput // The name of the service integration. Name pulumi.StringPtrInput // The ID of the service the integration should belong to. Service pulumi.StringPtrInput // The service type. Can be: // `awsCloudwatchInboundIntegration`, // `cloudkickInboundIntegration`, // `eventTransformerApiInboundIntegration`, // `eventsApiV2InboundIntegration` (requires service `alertCreation` to be `createAlertsAndIncidents`), // `genericEmailInboundIntegration`, // `genericEventsApiInboundIntegration`, // `keynoteInboundIntegration`, // `nagiosInboundIntegration`, // `pingdomInboundIntegration`or `sqlMonitorInboundIntegration`. Type pulumi.StringPtrInput // The ID of the vendor the integration should integrate with (e.g Datadog or Amazon Cloudwatch). Vendor pulumi.StringPtrInput }
func (ServiceIntegrationState) ElementType ¶
func (ServiceIntegrationState) ElementType() reflect.Type
type ServiceMap ¶
type ServiceMap map[string]ServiceInput
func (ServiceMap) ElementType ¶
func (ServiceMap) ElementType() reflect.Type
func (ServiceMap) ToServiceMapOutput ¶
func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput
func (ServiceMap) ToServiceMapOutputWithContext ¶
func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceMapInput ¶
type ServiceMapInput interface { pulumi.Input ToServiceMapOutput() ServiceMapOutput ToServiceMapOutputWithContext(context.Context) ServiceMapOutput }
ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:
ServiceMap{ "key": ServiceArgs{...} }
type ServiceMapOutput ¶
type ServiceMapOutput struct{ *pulumi.OutputState }
func (ServiceMapOutput) ElementType ¶
func (ServiceMapOutput) ElementType() reflect.Type
func (ServiceMapOutput) MapIndex ¶
func (o ServiceMapOutput) MapIndex(k pulumi.StringInput) ServiceOutput
func (ServiceMapOutput) ToServiceMapOutput ¶
func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput
func (ServiceMapOutput) ToServiceMapOutputWithContext ¶
func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceOutput ¶
type ServiceOutput struct {
*pulumi.OutputState
}
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (ServiceOutput) ToServicePtrOutput ¶
func (o ServiceOutput) ToServicePtrOutput() ServicePtrOutput
func (ServiceOutput) ToServicePtrOutputWithContext ¶
func (o ServiceOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
type ServicePtrInput ¶
type ServicePtrInput interface { pulumi.Input ToServicePtrOutput() ServicePtrOutput ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput }
type ServicePtrOutput ¶
type ServicePtrOutput struct {
*pulumi.OutputState
}
func (ServicePtrOutput) ElementType ¶
func (ServicePtrOutput) ElementType() reflect.Type
func (ServicePtrOutput) ToServicePtrOutput ¶
func (o ServicePtrOutput) ToServicePtrOutput() ServicePtrOutput
func (ServicePtrOutput) ToServicePtrOutputWithContext ¶
func (o ServicePtrOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
type ServiceScheduledAction ¶
type ServiceScheduledAction struct { // A block representing when the scheduled action will occur. Ats []ServiceScheduledActionAt `pulumi:"ats"` // The urgency to change to: `low` (does not escalate), or `high` (follows escalation rules). ToUrgency *string `pulumi:"toUrgency"` // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type *string `pulumi:"type"` }
type ServiceScheduledActionArgs ¶
type ServiceScheduledActionArgs struct { // A block representing when the scheduled action will occur. Ats ServiceScheduledActionAtArrayInput `pulumi:"ats"` // The urgency to change to: `low` (does not escalate), or `high` (follows escalation rules). ToUrgency pulumi.StringPtrInput `pulumi:"toUrgency"` // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (ServiceScheduledActionArgs) ElementType ¶
func (ServiceScheduledActionArgs) ElementType() reflect.Type
func (ServiceScheduledActionArgs) ToServiceScheduledActionOutput ¶
func (i ServiceScheduledActionArgs) ToServiceScheduledActionOutput() ServiceScheduledActionOutput
func (ServiceScheduledActionArgs) ToServiceScheduledActionOutputWithContext ¶
func (i ServiceScheduledActionArgs) ToServiceScheduledActionOutputWithContext(ctx context.Context) ServiceScheduledActionOutput
type ServiceScheduledActionArray ¶
type ServiceScheduledActionArray []ServiceScheduledActionInput
func (ServiceScheduledActionArray) ElementType ¶
func (ServiceScheduledActionArray) ElementType() reflect.Type
func (ServiceScheduledActionArray) ToServiceScheduledActionArrayOutput ¶
func (i ServiceScheduledActionArray) ToServiceScheduledActionArrayOutput() ServiceScheduledActionArrayOutput
func (ServiceScheduledActionArray) ToServiceScheduledActionArrayOutputWithContext ¶
func (i ServiceScheduledActionArray) ToServiceScheduledActionArrayOutputWithContext(ctx context.Context) ServiceScheduledActionArrayOutput
type ServiceScheduledActionArrayInput ¶
type ServiceScheduledActionArrayInput interface { pulumi.Input ToServiceScheduledActionArrayOutput() ServiceScheduledActionArrayOutput ToServiceScheduledActionArrayOutputWithContext(context.Context) ServiceScheduledActionArrayOutput }
ServiceScheduledActionArrayInput is an input type that accepts ServiceScheduledActionArray and ServiceScheduledActionArrayOutput values. You can construct a concrete instance of `ServiceScheduledActionArrayInput` via:
ServiceScheduledActionArray{ ServiceScheduledActionArgs{...} }
type ServiceScheduledActionArrayOutput ¶
type ServiceScheduledActionArrayOutput struct{ *pulumi.OutputState }
func (ServiceScheduledActionArrayOutput) ElementType ¶
func (ServiceScheduledActionArrayOutput) ElementType() reflect.Type
func (ServiceScheduledActionArrayOutput) Index ¶
func (o ServiceScheduledActionArrayOutput) Index(i pulumi.IntInput) ServiceScheduledActionOutput
func (ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutput ¶
func (o ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutput() ServiceScheduledActionArrayOutput
func (ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutputWithContext ¶
func (o ServiceScheduledActionArrayOutput) ToServiceScheduledActionArrayOutputWithContext(ctx context.Context) ServiceScheduledActionArrayOutput
type ServiceScheduledActionAtArgs ¶
type ServiceScheduledActionAtArgs struct { // Designates either the start or the end of the scheduled action. Can be `supportHoursStart` or `supportHoursEnd`. Name pulumi.StringPtrInput `pulumi:"name"` // The type of time specification. Currently, this must be set to `namedTime`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (ServiceScheduledActionAtArgs) ElementType ¶
func (ServiceScheduledActionAtArgs) ElementType() reflect.Type
func (ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutput ¶
func (i ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutput() ServiceScheduledActionAtOutput
func (ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutputWithContext ¶
func (i ServiceScheduledActionAtArgs) ToServiceScheduledActionAtOutputWithContext(ctx context.Context) ServiceScheduledActionAtOutput
type ServiceScheduledActionAtArray ¶
type ServiceScheduledActionAtArray []ServiceScheduledActionAtInput
func (ServiceScheduledActionAtArray) ElementType ¶
func (ServiceScheduledActionAtArray) ElementType() reflect.Type
func (ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutput ¶
func (i ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutput() ServiceScheduledActionAtArrayOutput
func (ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutputWithContext ¶
func (i ServiceScheduledActionAtArray) ToServiceScheduledActionAtArrayOutputWithContext(ctx context.Context) ServiceScheduledActionAtArrayOutput
type ServiceScheduledActionAtArrayInput ¶
type ServiceScheduledActionAtArrayInput interface { pulumi.Input ToServiceScheduledActionAtArrayOutput() ServiceScheduledActionAtArrayOutput ToServiceScheduledActionAtArrayOutputWithContext(context.Context) ServiceScheduledActionAtArrayOutput }
ServiceScheduledActionAtArrayInput is an input type that accepts ServiceScheduledActionAtArray and ServiceScheduledActionAtArrayOutput values. You can construct a concrete instance of `ServiceScheduledActionAtArrayInput` via:
ServiceScheduledActionAtArray{ ServiceScheduledActionAtArgs{...} }
type ServiceScheduledActionAtArrayOutput ¶
type ServiceScheduledActionAtArrayOutput struct{ *pulumi.OutputState }
func (ServiceScheduledActionAtArrayOutput) ElementType ¶
func (ServiceScheduledActionAtArrayOutput) ElementType() reflect.Type
func (ServiceScheduledActionAtArrayOutput) Index ¶
func (o ServiceScheduledActionAtArrayOutput) Index(i pulumi.IntInput) ServiceScheduledActionAtOutput
func (ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutput ¶
func (o ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutput() ServiceScheduledActionAtArrayOutput
func (ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutputWithContext ¶
func (o ServiceScheduledActionAtArrayOutput) ToServiceScheduledActionAtArrayOutputWithContext(ctx context.Context) ServiceScheduledActionAtArrayOutput
type ServiceScheduledActionAtInput ¶
type ServiceScheduledActionAtInput interface { pulumi.Input ToServiceScheduledActionAtOutput() ServiceScheduledActionAtOutput ToServiceScheduledActionAtOutputWithContext(context.Context) ServiceScheduledActionAtOutput }
ServiceScheduledActionAtInput is an input type that accepts ServiceScheduledActionAtArgs and ServiceScheduledActionAtOutput values. You can construct a concrete instance of `ServiceScheduledActionAtInput` via:
ServiceScheduledActionAtArgs{...}
type ServiceScheduledActionAtOutput ¶
type ServiceScheduledActionAtOutput struct{ *pulumi.OutputState }
func (ServiceScheduledActionAtOutput) ElementType ¶
func (ServiceScheduledActionAtOutput) ElementType() reflect.Type
func (ServiceScheduledActionAtOutput) Name ¶
func (o ServiceScheduledActionAtOutput) Name() pulumi.StringPtrOutput
Designates either the start or the end of the scheduled action. Can be `supportHoursStart` or `supportHoursEnd`.
func (ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutput ¶
func (o ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutput() ServiceScheduledActionAtOutput
func (ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutputWithContext ¶
func (o ServiceScheduledActionAtOutput) ToServiceScheduledActionAtOutputWithContext(ctx context.Context) ServiceScheduledActionAtOutput
func (ServiceScheduledActionAtOutput) Type ¶
func (o ServiceScheduledActionAtOutput) Type() pulumi.StringPtrOutput
The type of time specification. Currently, this must be set to `namedTime`.
type ServiceScheduledActionInput ¶
type ServiceScheduledActionInput interface { pulumi.Input ToServiceScheduledActionOutput() ServiceScheduledActionOutput ToServiceScheduledActionOutputWithContext(context.Context) ServiceScheduledActionOutput }
ServiceScheduledActionInput is an input type that accepts ServiceScheduledActionArgs and ServiceScheduledActionOutput values. You can construct a concrete instance of `ServiceScheduledActionInput` via:
ServiceScheduledActionArgs{...}
type ServiceScheduledActionOutput ¶
type ServiceScheduledActionOutput struct{ *pulumi.OutputState }
func (ServiceScheduledActionOutput) Ats ¶
func (o ServiceScheduledActionOutput) Ats() ServiceScheduledActionAtArrayOutput
A block representing when the scheduled action will occur.
func (ServiceScheduledActionOutput) ElementType ¶
func (ServiceScheduledActionOutput) ElementType() reflect.Type
func (ServiceScheduledActionOutput) ToServiceScheduledActionOutput ¶
func (o ServiceScheduledActionOutput) ToServiceScheduledActionOutput() ServiceScheduledActionOutput
func (ServiceScheduledActionOutput) ToServiceScheduledActionOutputWithContext ¶
func (o ServiceScheduledActionOutput) ToServiceScheduledActionOutputWithContext(ctx context.Context) ServiceScheduledActionOutput
func (ServiceScheduledActionOutput) ToUrgency ¶
func (o ServiceScheduledActionOutput) ToUrgency() pulumi.StringPtrOutput
The urgency to change to: `low` (does not escalate), or `high` (follows escalation rules).
func (ServiceScheduledActionOutput) Type ¶
func (o ServiceScheduledActionOutput) Type() pulumi.StringPtrOutput
The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
type ServiceState ¶
type ServiceState struct { // Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the `"null"` string. AcknowledgementTimeout pulumi.StringPtrInput // Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value "createIncidents" is default: events will create an incident that cannot be merged. Value "createAlertsAndIncidents" is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged. This option is recommended. AlertCreation pulumi.StringPtrInput // (Deprecated) Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to `time`: All alerts within a specified duration will be grouped into the same incident. This duration is set in the `alertGroupingTimeout` setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to `intelligent` - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan. AlertGrouping pulumi.StringPtrInput // Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident. AlertGroupingParameters ServiceAlertGroupingParametersPtrInput // (Deprecated) The duration in minutes within which to automatically group incoming alerts. This setting applies only when `alertGrouping` is set to `time`. To continue grouping alerts until the incident is resolved, set this value to `0`. AlertGroupingTimeout pulumi.IntPtrInput // Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string. AutoResolveTimeout pulumi.StringPtrInput CreatedAt pulumi.StringPtrInput Description pulumi.StringPtrInput // The escalation policy used by this service. EscalationPolicy pulumi.StringPtrInput HtmlUrl pulumi.StringPtrInput IncidentUrgencyRule ServiceIncidentUrgencyRulePtrInput LastIncidentTimestamp pulumi.StringPtrInput // The name of the service. Name pulumi.StringPtrInput ScheduledActions ServiceScheduledActionArrayInput Status pulumi.StringPtrInput SupportHours ServiceSupportHoursPtrInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type
type ServiceSupportHours ¶
type ServiceSupportHours struct { // Array of days of week as integers. `1` to `7`, `1` being // Monday and `7` being Sunday. DaysOfWeeks []int `pulumi:"daysOfWeeks"` // The support hours' ending time of day. EndTime *string `pulumi:"endTime"` // The support hours' starting time of day. StartTime *string `pulumi:"startTime"` // The time zone for the support hours. TimeZone *string `pulumi:"timeZone"` // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type *string `pulumi:"type"` }
type ServiceSupportHoursArgs ¶
type ServiceSupportHoursArgs struct { // Array of days of week as integers. `1` to `7`, `1` being // Monday and `7` being Sunday. DaysOfWeeks pulumi.IntArrayInput `pulumi:"daysOfWeeks"` // The support hours' ending time of day. EndTime pulumi.StringPtrInput `pulumi:"endTime"` // The support hours' starting time of day. StartTime pulumi.StringPtrInput `pulumi:"startTime"` // The time zone for the support hours. TimeZone pulumi.StringPtrInput `pulumi:"timeZone"` // The type of alert grouping; one of `intelligent`, `time` or `contentBased`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (ServiceSupportHoursArgs) ElementType ¶
func (ServiceSupportHoursArgs) ElementType() reflect.Type
func (ServiceSupportHoursArgs) ToServiceSupportHoursOutput ¶
func (i ServiceSupportHoursArgs) ToServiceSupportHoursOutput() ServiceSupportHoursOutput
func (ServiceSupportHoursArgs) ToServiceSupportHoursOutputWithContext ¶
func (i ServiceSupportHoursArgs) ToServiceSupportHoursOutputWithContext(ctx context.Context) ServiceSupportHoursOutput
func (ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutput ¶
func (i ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput
func (ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutputWithContext ¶
func (i ServiceSupportHoursArgs) ToServiceSupportHoursPtrOutputWithContext(ctx context.Context) ServiceSupportHoursPtrOutput
type ServiceSupportHoursInput ¶
type ServiceSupportHoursInput interface { pulumi.Input ToServiceSupportHoursOutput() ServiceSupportHoursOutput ToServiceSupportHoursOutputWithContext(context.Context) ServiceSupportHoursOutput }
ServiceSupportHoursInput is an input type that accepts ServiceSupportHoursArgs and ServiceSupportHoursOutput values. You can construct a concrete instance of `ServiceSupportHoursInput` via:
ServiceSupportHoursArgs{...}
type ServiceSupportHoursOutput ¶
type ServiceSupportHoursOutput struct{ *pulumi.OutputState }
func (ServiceSupportHoursOutput) DaysOfWeeks ¶
func (o ServiceSupportHoursOutput) DaysOfWeeks() pulumi.IntArrayOutput
Array of days of week as integers. `1` to `7`, `1` being Monday and `7` being Sunday.
func (ServiceSupportHoursOutput) ElementType ¶
func (ServiceSupportHoursOutput) ElementType() reflect.Type
func (ServiceSupportHoursOutput) EndTime ¶
func (o ServiceSupportHoursOutput) EndTime() pulumi.StringPtrOutput
The support hours' ending time of day.
func (ServiceSupportHoursOutput) StartTime ¶
func (o ServiceSupportHoursOutput) StartTime() pulumi.StringPtrOutput
The support hours' starting time of day.
func (ServiceSupportHoursOutput) TimeZone ¶
func (o ServiceSupportHoursOutput) TimeZone() pulumi.StringPtrOutput
The time zone for the support hours.
func (ServiceSupportHoursOutput) ToServiceSupportHoursOutput ¶
func (o ServiceSupportHoursOutput) ToServiceSupportHoursOutput() ServiceSupportHoursOutput
func (ServiceSupportHoursOutput) ToServiceSupportHoursOutputWithContext ¶
func (o ServiceSupportHoursOutput) ToServiceSupportHoursOutputWithContext(ctx context.Context) ServiceSupportHoursOutput
func (ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutput ¶
func (o ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput
func (ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutputWithContext ¶
func (o ServiceSupportHoursOutput) ToServiceSupportHoursPtrOutputWithContext(ctx context.Context) ServiceSupportHoursPtrOutput
func (ServiceSupportHoursOutput) Type ¶
func (o ServiceSupportHoursOutput) Type() pulumi.StringPtrOutput
The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
type ServiceSupportHoursPtrInput ¶
type ServiceSupportHoursPtrInput interface { pulumi.Input ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput ToServiceSupportHoursPtrOutputWithContext(context.Context) ServiceSupportHoursPtrOutput }
ServiceSupportHoursPtrInput is an input type that accepts ServiceSupportHoursArgs, ServiceSupportHoursPtr and ServiceSupportHoursPtrOutput values. You can construct a concrete instance of `ServiceSupportHoursPtrInput` via:
ServiceSupportHoursArgs{...} or: nil
func ServiceSupportHoursPtr ¶
func ServiceSupportHoursPtr(v *ServiceSupportHoursArgs) ServiceSupportHoursPtrInput
type ServiceSupportHoursPtrOutput ¶
type ServiceSupportHoursPtrOutput struct{ *pulumi.OutputState }
func (ServiceSupportHoursPtrOutput) DaysOfWeeks ¶
func (o ServiceSupportHoursPtrOutput) DaysOfWeeks() pulumi.IntArrayOutput
Array of days of week as integers. `1` to `7`, `1` being Monday and `7` being Sunday.
func (ServiceSupportHoursPtrOutput) Elem ¶
func (o ServiceSupportHoursPtrOutput) Elem() ServiceSupportHoursOutput
func (ServiceSupportHoursPtrOutput) ElementType ¶
func (ServiceSupportHoursPtrOutput) ElementType() reflect.Type
func (ServiceSupportHoursPtrOutput) EndTime ¶
func (o ServiceSupportHoursPtrOutput) EndTime() pulumi.StringPtrOutput
The support hours' ending time of day.
func (ServiceSupportHoursPtrOutput) StartTime ¶
func (o ServiceSupportHoursPtrOutput) StartTime() pulumi.StringPtrOutput
The support hours' starting time of day.
func (ServiceSupportHoursPtrOutput) TimeZone ¶
func (o ServiceSupportHoursPtrOutput) TimeZone() pulumi.StringPtrOutput
The time zone for the support hours.
func (ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutput ¶
func (o ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutput() ServiceSupportHoursPtrOutput
func (ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutputWithContext ¶
func (o ServiceSupportHoursPtrOutput) ToServiceSupportHoursPtrOutputWithContext(ctx context.Context) ServiceSupportHoursPtrOutput
func (ServiceSupportHoursPtrOutput) Type ¶
func (o ServiceSupportHoursPtrOutput) Type() pulumi.StringPtrOutput
The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
type SlackConnection ¶ added in v2.2.0
type SlackConnection struct { pulumi.CustomResourceState // The ID of a Slack channel in the workspace. ChannelId pulumi.StringOutput `pulumi:"channelId"` ChannelName pulumi.StringOutput `pulumi:"channelName"` // Configuration options for the Slack connection that provide options to filter events. Configs SlackConnectionConfigArrayOutput `pulumi:"configs"` // Type of notification. Either `responder` or `stakeholder`. NotificationType pulumi.StringOutput `pulumi:"notificationType"` // The ID of the source in PagerDuty. Valid sources are services or teams. SourceId pulumi.StringOutput `pulumi:"sourceId"` SourceName pulumi.StringOutput `pulumi:"sourceName"` // The type of the source. Either `teamReference` or `serviceReference`. SourceType pulumi.StringOutput `pulumi:"sourceType"` // The ID of the connected Slack workspace. Can also be defined by the `SLACK_CONNECTION_WORKSPACE_ID` environment variable. WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"` }
A [slack connection](https://developer.pagerduty.com/api-reference/reference/integration-slack-service/openapiv3.json) allows you to connect a workspace in Slack to a PagerDuty service or team which allows you to acknowledge and resolve PagerDuty incidents from the Slack user interface.
**NOTES for using this resource:** * To first use this resource you will need to [map your PagerDuty account to a valid Slack Workspace](https://support.pagerduty.com/docs/slack-integration-guide#integration-walkthrough). *This can only be done through the PagerDuty UI.* * This resource requires a PagerDuty [user-level API key](https://support.pagerduty.com/docs/generating-api-keys#section-generating-a-personal-rest-api-key) set as the `PAGERDUTY_USER_TOKEN` environment variable. ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooTeam, err := pagerduty.NewTeam(ctx, "fooTeam", nil) if err != nil { return err } p1, err := pagerduty.GetPriority(ctx, &pagerduty.GetPriorityArgs{ Name: "P1", }, nil) if err != nil { return err } _, err = pagerduty.NewSlackConnection(ctx, "fooSlackConnection", &pagerduty.SlackConnectionArgs{ SourceId: fooTeam.ID(), SourceType: pulumi.String("team_reference"), WorkspaceId: pulumi.String("T02A123LV1A"), ChannelId: pulumi.String("C02CABCDAC9"), Configs: pagerduty.SlackConnectionConfigArray{ &pagerduty.SlackConnectionConfigArgs{ Events: pulumi.StringArray{ pulumi.String("incident.triggered"), pulumi.String("incident.acknowledged"), pulumi.String("incident.escalated"), pulumi.String("incident.resolved"), pulumi.String("incident.reassigned"), pulumi.String("incident.annotated"), pulumi.String("incident.unacknowledged"), pulumi.String("incident.delegated"), pulumi.String("incident.priority_updated"), pulumi.String("incident.responder.added"), pulumi.String("incident.responder.replied"), pulumi.String("incident.status_update_published"), pulumi.String("incident.reopened"), }, Priorities: pulumi.StringArray{ pulumi.String(p1.Id), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Slack connections can be imported using using the related `workspace` ID and the `slack_connection` ID separated by a dot, e.g.
```sh
$ pulumi import pagerduty:index/slackConnection:SlackConnection main T02A123LV1A.PUABCDL
```
func GetSlackConnection ¶ added in v2.2.0
func GetSlackConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SlackConnectionState, opts ...pulumi.ResourceOption) (*SlackConnection, error)
GetSlackConnection gets an existing SlackConnection 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 NewSlackConnection ¶ added in v2.2.0
func NewSlackConnection(ctx *pulumi.Context, name string, args *SlackConnectionArgs, opts ...pulumi.ResourceOption) (*SlackConnection, error)
NewSlackConnection registers a new resource with the given unique name, arguments, and options.
func (*SlackConnection) ElementType ¶ added in v2.2.0
func (*SlackConnection) ElementType() reflect.Type
func (*SlackConnection) ToSlackConnectionOutput ¶ added in v2.2.0
func (i *SlackConnection) ToSlackConnectionOutput() SlackConnectionOutput
func (*SlackConnection) ToSlackConnectionOutputWithContext ¶ added in v2.2.0
func (i *SlackConnection) ToSlackConnectionOutputWithContext(ctx context.Context) SlackConnectionOutput
func (*SlackConnection) ToSlackConnectionPtrOutput ¶ added in v2.2.0
func (i *SlackConnection) ToSlackConnectionPtrOutput() SlackConnectionPtrOutput
func (*SlackConnection) ToSlackConnectionPtrOutputWithContext ¶ added in v2.2.0
func (i *SlackConnection) ToSlackConnectionPtrOutputWithContext(ctx context.Context) SlackConnectionPtrOutput
type SlackConnectionArgs ¶ added in v2.2.0
type SlackConnectionArgs struct { // The ID of a Slack channel in the workspace. ChannelId pulumi.StringInput // Configuration options for the Slack connection that provide options to filter events. Configs SlackConnectionConfigArrayInput // Type of notification. Either `responder` or `stakeholder`. NotificationType pulumi.StringInput // The ID of the source in PagerDuty. Valid sources are services or teams. SourceId pulumi.StringInput // The type of the source. Either `teamReference` or `serviceReference`. SourceType pulumi.StringInput // The ID of the connected Slack workspace. Can also be defined by the `SLACK_CONNECTION_WORKSPACE_ID` environment variable. WorkspaceId pulumi.StringInput }
The set of arguments for constructing a SlackConnection resource.
func (SlackConnectionArgs) ElementType ¶ added in v2.2.0
func (SlackConnectionArgs) ElementType() reflect.Type
type SlackConnectionArray ¶ added in v2.2.0
type SlackConnectionArray []SlackConnectionInput
func (SlackConnectionArray) ElementType ¶ added in v2.2.0
func (SlackConnectionArray) ElementType() reflect.Type
func (SlackConnectionArray) ToSlackConnectionArrayOutput ¶ added in v2.2.0
func (i SlackConnectionArray) ToSlackConnectionArrayOutput() SlackConnectionArrayOutput
func (SlackConnectionArray) ToSlackConnectionArrayOutputWithContext ¶ added in v2.2.0
func (i SlackConnectionArray) ToSlackConnectionArrayOutputWithContext(ctx context.Context) SlackConnectionArrayOutput
type SlackConnectionArrayInput ¶ added in v2.2.0
type SlackConnectionArrayInput interface { pulumi.Input ToSlackConnectionArrayOutput() SlackConnectionArrayOutput ToSlackConnectionArrayOutputWithContext(context.Context) SlackConnectionArrayOutput }
SlackConnectionArrayInput is an input type that accepts SlackConnectionArray and SlackConnectionArrayOutput values. You can construct a concrete instance of `SlackConnectionArrayInput` via:
SlackConnectionArray{ SlackConnectionArgs{...} }
type SlackConnectionArrayOutput ¶ added in v2.2.0
type SlackConnectionArrayOutput struct{ *pulumi.OutputState }
func (SlackConnectionArrayOutput) ElementType ¶ added in v2.2.0
func (SlackConnectionArrayOutput) ElementType() reflect.Type
func (SlackConnectionArrayOutput) Index ¶ added in v2.2.0
func (o SlackConnectionArrayOutput) Index(i pulumi.IntInput) SlackConnectionOutput
func (SlackConnectionArrayOutput) ToSlackConnectionArrayOutput ¶ added in v2.2.0
func (o SlackConnectionArrayOutput) ToSlackConnectionArrayOutput() SlackConnectionArrayOutput
func (SlackConnectionArrayOutput) ToSlackConnectionArrayOutputWithContext ¶ added in v2.2.0
func (o SlackConnectionArrayOutput) ToSlackConnectionArrayOutputWithContext(ctx context.Context) SlackConnectionArrayOutput
type SlackConnectionConfig ¶ added in v2.2.0
type SlackConnectionConfig struct { // A list of strings to filter events by PagerDuty event type. `"incident.triggered"` is required. The follow event types are also possible: // - `incident.acknowledged` // - `incident.escalated` // - `incident.resolved` // - `incident.reassigned` // - `incident.annotated` // - `incident.unacknowledged` // - `incident.delegated` // - `incident.priority_updated` // - `incident.responder.added` // - `incident.responder.replied` // - `incident.status_update_published` // - `incident.reopened` Events []string `pulumi:"events"` Priorities []string `pulumi:"priorities"` // Allows you to filter events by urgency. Either `high` or `low`. Urgency *string `pulumi:"urgency"` }
type SlackConnectionConfigArgs ¶ added in v2.2.0
type SlackConnectionConfigArgs struct { // A list of strings to filter events by PagerDuty event type. `"incident.triggered"` is required. The follow event types are also possible: // - `incident.acknowledged` // - `incident.escalated` // - `incident.resolved` // - `incident.reassigned` // - `incident.annotated` // - `incident.unacknowledged` // - `incident.delegated` // - `incident.priority_updated` // - `incident.responder.added` // - `incident.responder.replied` // - `incident.status_update_published` // - `incident.reopened` Events pulumi.StringArrayInput `pulumi:"events"` Priorities pulumi.StringArrayInput `pulumi:"priorities"` // Allows you to filter events by urgency. Either `high` or `low`. Urgency pulumi.StringPtrInput `pulumi:"urgency"` }
func (SlackConnectionConfigArgs) ElementType ¶ added in v2.2.0
func (SlackConnectionConfigArgs) ElementType() reflect.Type
func (SlackConnectionConfigArgs) ToSlackConnectionConfigOutput ¶ added in v2.2.0
func (i SlackConnectionConfigArgs) ToSlackConnectionConfigOutput() SlackConnectionConfigOutput
func (SlackConnectionConfigArgs) ToSlackConnectionConfigOutputWithContext ¶ added in v2.2.0
func (i SlackConnectionConfigArgs) ToSlackConnectionConfigOutputWithContext(ctx context.Context) SlackConnectionConfigOutput
type SlackConnectionConfigArray ¶ added in v2.2.0
type SlackConnectionConfigArray []SlackConnectionConfigInput
func (SlackConnectionConfigArray) ElementType ¶ added in v2.2.0
func (SlackConnectionConfigArray) ElementType() reflect.Type
func (SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutput ¶ added in v2.2.0
func (i SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutput() SlackConnectionConfigArrayOutput
func (SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutputWithContext ¶ added in v2.2.0
func (i SlackConnectionConfigArray) ToSlackConnectionConfigArrayOutputWithContext(ctx context.Context) SlackConnectionConfigArrayOutput
type SlackConnectionConfigArrayInput ¶ added in v2.2.0
type SlackConnectionConfigArrayInput interface { pulumi.Input ToSlackConnectionConfigArrayOutput() SlackConnectionConfigArrayOutput ToSlackConnectionConfigArrayOutputWithContext(context.Context) SlackConnectionConfigArrayOutput }
SlackConnectionConfigArrayInput is an input type that accepts SlackConnectionConfigArray and SlackConnectionConfigArrayOutput values. You can construct a concrete instance of `SlackConnectionConfigArrayInput` via:
SlackConnectionConfigArray{ SlackConnectionConfigArgs{...} }
type SlackConnectionConfigArrayOutput ¶ added in v2.2.0
type SlackConnectionConfigArrayOutput struct{ *pulumi.OutputState }
func (SlackConnectionConfigArrayOutput) ElementType ¶ added in v2.2.0
func (SlackConnectionConfigArrayOutput) ElementType() reflect.Type
func (SlackConnectionConfigArrayOutput) Index ¶ added in v2.2.0
func (o SlackConnectionConfigArrayOutput) Index(i pulumi.IntInput) SlackConnectionConfigOutput
func (SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutput ¶ added in v2.2.0
func (o SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutput() SlackConnectionConfigArrayOutput
func (SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutputWithContext ¶ added in v2.2.0
func (o SlackConnectionConfigArrayOutput) ToSlackConnectionConfigArrayOutputWithContext(ctx context.Context) SlackConnectionConfigArrayOutput
type SlackConnectionConfigInput ¶ added in v2.2.0
type SlackConnectionConfigInput interface { pulumi.Input ToSlackConnectionConfigOutput() SlackConnectionConfigOutput ToSlackConnectionConfigOutputWithContext(context.Context) SlackConnectionConfigOutput }
SlackConnectionConfigInput is an input type that accepts SlackConnectionConfigArgs and SlackConnectionConfigOutput values. You can construct a concrete instance of `SlackConnectionConfigInput` via:
SlackConnectionConfigArgs{...}
type SlackConnectionConfigOutput ¶ added in v2.2.0
type SlackConnectionConfigOutput struct{ *pulumi.OutputState }
func (SlackConnectionConfigOutput) ElementType ¶ added in v2.2.0
func (SlackConnectionConfigOutput) ElementType() reflect.Type
func (SlackConnectionConfigOutput) Events ¶ added in v2.2.0
func (o SlackConnectionConfigOutput) Events() pulumi.StringArrayOutput
A list of strings to filter events by PagerDuty event type. `"incident.triggered"` is required. The follow event types are also possible: - `incident.acknowledged` - `incident.escalated` - `incident.resolved` - `incident.reassigned` - `incident.annotated` - `incident.unacknowledged` - `incident.delegated` - `incident.priority_updated` - `incident.responder.added` - `incident.responder.replied` - `incident.status_update_published` - `incident.reopened`
func (SlackConnectionConfigOutput) Priorities ¶ added in v2.2.0
func (o SlackConnectionConfigOutput) Priorities() pulumi.StringArrayOutput
func (SlackConnectionConfigOutput) ToSlackConnectionConfigOutput ¶ added in v2.2.0
func (o SlackConnectionConfigOutput) ToSlackConnectionConfigOutput() SlackConnectionConfigOutput
func (SlackConnectionConfigOutput) ToSlackConnectionConfigOutputWithContext ¶ added in v2.2.0
func (o SlackConnectionConfigOutput) ToSlackConnectionConfigOutputWithContext(ctx context.Context) SlackConnectionConfigOutput
func (SlackConnectionConfigOutput) Urgency ¶ added in v2.2.0
func (o SlackConnectionConfigOutput) Urgency() pulumi.StringPtrOutput
Allows you to filter events by urgency. Either `high` or `low`.
type SlackConnectionInput ¶ added in v2.2.0
type SlackConnectionInput interface { pulumi.Input ToSlackConnectionOutput() SlackConnectionOutput ToSlackConnectionOutputWithContext(ctx context.Context) SlackConnectionOutput }
type SlackConnectionMap ¶ added in v2.2.0
type SlackConnectionMap map[string]SlackConnectionInput
func (SlackConnectionMap) ElementType ¶ added in v2.2.0
func (SlackConnectionMap) ElementType() reflect.Type
func (SlackConnectionMap) ToSlackConnectionMapOutput ¶ added in v2.2.0
func (i SlackConnectionMap) ToSlackConnectionMapOutput() SlackConnectionMapOutput
func (SlackConnectionMap) ToSlackConnectionMapOutputWithContext ¶ added in v2.2.0
func (i SlackConnectionMap) ToSlackConnectionMapOutputWithContext(ctx context.Context) SlackConnectionMapOutput
type SlackConnectionMapInput ¶ added in v2.2.0
type SlackConnectionMapInput interface { pulumi.Input ToSlackConnectionMapOutput() SlackConnectionMapOutput ToSlackConnectionMapOutputWithContext(context.Context) SlackConnectionMapOutput }
SlackConnectionMapInput is an input type that accepts SlackConnectionMap and SlackConnectionMapOutput values. You can construct a concrete instance of `SlackConnectionMapInput` via:
SlackConnectionMap{ "key": SlackConnectionArgs{...} }
type SlackConnectionMapOutput ¶ added in v2.2.0
type SlackConnectionMapOutput struct{ *pulumi.OutputState }
func (SlackConnectionMapOutput) ElementType ¶ added in v2.2.0
func (SlackConnectionMapOutput) ElementType() reflect.Type
func (SlackConnectionMapOutput) MapIndex ¶ added in v2.2.0
func (o SlackConnectionMapOutput) MapIndex(k pulumi.StringInput) SlackConnectionOutput
func (SlackConnectionMapOutput) ToSlackConnectionMapOutput ¶ added in v2.2.0
func (o SlackConnectionMapOutput) ToSlackConnectionMapOutput() SlackConnectionMapOutput
func (SlackConnectionMapOutput) ToSlackConnectionMapOutputWithContext ¶ added in v2.2.0
func (o SlackConnectionMapOutput) ToSlackConnectionMapOutputWithContext(ctx context.Context) SlackConnectionMapOutput
type SlackConnectionOutput ¶ added in v2.2.0
type SlackConnectionOutput struct {
*pulumi.OutputState
}
func (SlackConnectionOutput) ElementType ¶ added in v2.2.0
func (SlackConnectionOutput) ElementType() reflect.Type
func (SlackConnectionOutput) ToSlackConnectionOutput ¶ added in v2.2.0
func (o SlackConnectionOutput) ToSlackConnectionOutput() SlackConnectionOutput
func (SlackConnectionOutput) ToSlackConnectionOutputWithContext ¶ added in v2.2.0
func (o SlackConnectionOutput) ToSlackConnectionOutputWithContext(ctx context.Context) SlackConnectionOutput
func (SlackConnectionOutput) ToSlackConnectionPtrOutput ¶ added in v2.2.0
func (o SlackConnectionOutput) ToSlackConnectionPtrOutput() SlackConnectionPtrOutput
func (SlackConnectionOutput) ToSlackConnectionPtrOutputWithContext ¶ added in v2.2.0
func (o SlackConnectionOutput) ToSlackConnectionPtrOutputWithContext(ctx context.Context) SlackConnectionPtrOutput
type SlackConnectionPtrInput ¶ added in v2.2.0
type SlackConnectionPtrInput interface { pulumi.Input ToSlackConnectionPtrOutput() SlackConnectionPtrOutput ToSlackConnectionPtrOutputWithContext(ctx context.Context) SlackConnectionPtrOutput }
type SlackConnectionPtrOutput ¶ added in v2.2.0
type SlackConnectionPtrOutput struct {
*pulumi.OutputState
}
func (SlackConnectionPtrOutput) ElementType ¶ added in v2.2.0
func (SlackConnectionPtrOutput) ElementType() reflect.Type
func (SlackConnectionPtrOutput) ToSlackConnectionPtrOutput ¶ added in v2.2.0
func (o SlackConnectionPtrOutput) ToSlackConnectionPtrOutput() SlackConnectionPtrOutput
func (SlackConnectionPtrOutput) ToSlackConnectionPtrOutputWithContext ¶ added in v2.2.0
func (o SlackConnectionPtrOutput) ToSlackConnectionPtrOutputWithContext(ctx context.Context) SlackConnectionPtrOutput
type SlackConnectionState ¶ added in v2.2.0
type SlackConnectionState struct { // The ID of a Slack channel in the workspace. ChannelId pulumi.StringPtrInput ChannelName pulumi.StringPtrInput // Configuration options for the Slack connection that provide options to filter events. Configs SlackConnectionConfigArrayInput // Type of notification. Either `responder` or `stakeholder`. NotificationType pulumi.StringPtrInput // The ID of the source in PagerDuty. Valid sources are services or teams. SourceId pulumi.StringPtrInput SourceName pulumi.StringPtrInput // The type of the source. Either `teamReference` or `serviceReference`. SourceType pulumi.StringPtrInput // The ID of the connected Slack workspace. Can also be defined by the `SLACK_CONNECTION_WORKSPACE_ID` environment variable. WorkspaceId pulumi.StringPtrInput }
func (SlackConnectionState) ElementType ¶ added in v2.2.0
func (SlackConnectionState) ElementType() reflect.Type
type Team ¶
type Team struct { pulumi.CustomResourceState Description pulumi.StringOutput `pulumi:"description"` // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"` // The name of the group. Name pulumi.StringOutput `pulumi:"name"` // ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information. Parent pulumi.StringPtrOutput `pulumi:"parent"` }
A [team](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1teams/get) is a collection of users and escalation policies that represent a group of people within an organization.
The account must have the `teams` ability to use the following resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { parent, err := pagerduty.NewTeam(ctx, "parent", &pagerduty.TeamArgs{ Description: pulumi.String("Product and Engineering"), }) if err != nil { return err } _, err = pagerduty.NewTeam(ctx, "example", &pagerduty.TeamArgs{ Description: pulumi.String("All engineering"), Parent: parent.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Teams can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/team:Team main PLBP09X
```
func GetTeam ¶
func GetTeam(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error)
GetTeam gets an existing Team 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 NewTeam ¶
func NewTeam(ctx *pulumi.Context, name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error)
NewTeam registers a new resource with the given unique name, arguments, and options.
func (*Team) ElementType ¶
func (*Team) ToTeamOutput ¶
func (i *Team) ToTeamOutput() TeamOutput
func (*Team) ToTeamOutputWithContext ¶
func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput
func (*Team) ToTeamPtrOutput ¶
func (i *Team) ToTeamPtrOutput() TeamPtrOutput
func (*Team) ToTeamPtrOutputWithContext ¶
func (i *Team) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput
type TeamArgs ¶
type TeamArgs struct { Description pulumi.StringPtrInput // The name of the group. Name pulumi.StringPtrInput // ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information. Parent pulumi.StringPtrInput }
The set of arguments for constructing a Team resource.
func (TeamArgs) ElementType ¶
type TeamArray ¶
type TeamArray []TeamInput
func (TeamArray) ElementType ¶
func (TeamArray) ToTeamArrayOutput ¶
func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput
func (TeamArray) ToTeamArrayOutputWithContext ¶
func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput
type TeamArrayInput ¶
type TeamArrayInput interface { pulumi.Input ToTeamArrayOutput() TeamArrayOutput ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput }
TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. You can construct a concrete instance of `TeamArrayInput` via:
TeamArray{ TeamArgs{...} }
type TeamArrayOutput ¶
type TeamArrayOutput struct{ *pulumi.OutputState }
func (TeamArrayOutput) ElementType ¶
func (TeamArrayOutput) ElementType() reflect.Type
func (TeamArrayOutput) Index ¶
func (o TeamArrayOutput) Index(i pulumi.IntInput) TeamOutput
func (TeamArrayOutput) ToTeamArrayOutput ¶
func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput
func (TeamArrayOutput) ToTeamArrayOutputWithContext ¶
func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput
type TeamInput ¶
type TeamInput interface { pulumi.Input ToTeamOutput() TeamOutput ToTeamOutputWithContext(ctx context.Context) TeamOutput }
type TeamMap ¶
func (TeamMap) ElementType ¶
func (TeamMap) ToTeamMapOutput ¶
func (i TeamMap) ToTeamMapOutput() TeamMapOutput
func (TeamMap) ToTeamMapOutputWithContext ¶
func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput
type TeamMapInput ¶
type TeamMapInput interface { pulumi.Input ToTeamMapOutput() TeamMapOutput ToTeamMapOutputWithContext(context.Context) TeamMapOutput }
TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. You can construct a concrete instance of `TeamMapInput` via:
TeamMap{ "key": TeamArgs{...} }
type TeamMapOutput ¶
type TeamMapOutput struct{ *pulumi.OutputState }
func (TeamMapOutput) ElementType ¶
func (TeamMapOutput) ElementType() reflect.Type
func (TeamMapOutput) MapIndex ¶
func (o TeamMapOutput) MapIndex(k pulumi.StringInput) TeamOutput
func (TeamMapOutput) ToTeamMapOutput ¶
func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput
func (TeamMapOutput) ToTeamMapOutputWithContext ¶
func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput
type TeamMembership ¶
type TeamMembership struct { pulumi.CustomResourceState // The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`.\ // These roles match up to user roles in the following ways: // * User role of `user` is a Team role of `manager` // * User role of `limitedUser` is a Team role of `responder` Role pulumi.StringPtrOutput `pulumi:"role"` // The ID of the team in which the user will belong. TeamId pulumi.StringOutput `pulumi:"teamId"` // The ID of the user to add to the team. UserId pulumi.StringOutput `pulumi:"userId"` }
A [team membership](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1teams~1%7Bid%7D~1users~1%7Buser_id%7D/put) manages memberships within a team.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooUser, err := pagerduty.NewUser(ctx, "fooUser", &pagerduty.UserArgs{ Email: pulumi.String("foo@bar.com"), }) if err != nil { return err } fooTeam, err := pagerduty.NewTeam(ctx, "fooTeam", &pagerduty.TeamArgs{ Description: pulumi.String("foo"), }) if err != nil { return err } _, err = pagerduty.NewTeamMembership(ctx, "fooTeamMembership", &pagerduty.TeamMembershipArgs{ UserId: fooUser.ID(), TeamId: fooTeam.ID(), Role: pulumi.String("manager"), }) if err != nil { return err } return nil }) }
```
## Import
Team memberships can be imported using the `user_id` and `team_id`, e.g.
```sh
$ pulumi import pagerduty:index/teamMembership:TeamMembership main PLBP09X:PLB09Z
```
func GetTeamMembership ¶
func GetTeamMembership(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TeamMembershipState, opts ...pulumi.ResourceOption) (*TeamMembership, error)
GetTeamMembership gets an existing TeamMembership 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 NewTeamMembership ¶
func NewTeamMembership(ctx *pulumi.Context, name string, args *TeamMembershipArgs, opts ...pulumi.ResourceOption) (*TeamMembership, error)
NewTeamMembership registers a new resource with the given unique name, arguments, and options.
func (*TeamMembership) ElementType ¶
func (*TeamMembership) ElementType() reflect.Type
func (*TeamMembership) ToTeamMembershipOutput ¶
func (i *TeamMembership) ToTeamMembershipOutput() TeamMembershipOutput
func (*TeamMembership) ToTeamMembershipOutputWithContext ¶
func (i *TeamMembership) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
func (*TeamMembership) ToTeamMembershipPtrOutput ¶
func (i *TeamMembership) ToTeamMembershipPtrOutput() TeamMembershipPtrOutput
func (*TeamMembership) ToTeamMembershipPtrOutputWithContext ¶
func (i *TeamMembership) ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput
type TeamMembershipArgs ¶
type TeamMembershipArgs struct { // The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`.\ // These roles match up to user roles in the following ways: // * User role of `user` is a Team role of `manager` // * User role of `limitedUser` is a Team role of `responder` Role pulumi.StringPtrInput // The ID of the team in which the user will belong. TeamId pulumi.StringInput // The ID of the user to add to the team. UserId pulumi.StringInput }
The set of arguments for constructing a TeamMembership resource.
func (TeamMembershipArgs) ElementType ¶
func (TeamMembershipArgs) ElementType() reflect.Type
type TeamMembershipArray ¶
type TeamMembershipArray []TeamMembershipInput
func (TeamMembershipArray) ElementType ¶
func (TeamMembershipArray) ElementType() reflect.Type
func (TeamMembershipArray) ToTeamMembershipArrayOutput ¶
func (i TeamMembershipArray) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput
func (TeamMembershipArray) ToTeamMembershipArrayOutputWithContext ¶
func (i TeamMembershipArray) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput
type TeamMembershipArrayInput ¶
type TeamMembershipArrayInput interface { pulumi.Input ToTeamMembershipArrayOutput() TeamMembershipArrayOutput ToTeamMembershipArrayOutputWithContext(context.Context) TeamMembershipArrayOutput }
TeamMembershipArrayInput is an input type that accepts TeamMembershipArray and TeamMembershipArrayOutput values. You can construct a concrete instance of `TeamMembershipArrayInput` via:
TeamMembershipArray{ TeamMembershipArgs{...} }
type TeamMembershipArrayOutput ¶
type TeamMembershipArrayOutput struct{ *pulumi.OutputState }
func (TeamMembershipArrayOutput) ElementType ¶
func (TeamMembershipArrayOutput) ElementType() reflect.Type
func (TeamMembershipArrayOutput) Index ¶
func (o TeamMembershipArrayOutput) Index(i pulumi.IntInput) TeamMembershipOutput
func (TeamMembershipArrayOutput) ToTeamMembershipArrayOutput ¶
func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput
func (TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext ¶
func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput
type TeamMembershipInput ¶
type TeamMembershipInput interface { pulumi.Input ToTeamMembershipOutput() TeamMembershipOutput ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput }
type TeamMembershipMap ¶
type TeamMembershipMap map[string]TeamMembershipInput
func (TeamMembershipMap) ElementType ¶
func (TeamMembershipMap) ElementType() reflect.Type
func (TeamMembershipMap) ToTeamMembershipMapOutput ¶
func (i TeamMembershipMap) ToTeamMembershipMapOutput() TeamMembershipMapOutput
func (TeamMembershipMap) ToTeamMembershipMapOutputWithContext ¶
func (i TeamMembershipMap) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput
type TeamMembershipMapInput ¶
type TeamMembershipMapInput interface { pulumi.Input ToTeamMembershipMapOutput() TeamMembershipMapOutput ToTeamMembershipMapOutputWithContext(context.Context) TeamMembershipMapOutput }
TeamMembershipMapInput is an input type that accepts TeamMembershipMap and TeamMembershipMapOutput values. You can construct a concrete instance of `TeamMembershipMapInput` via:
TeamMembershipMap{ "key": TeamMembershipArgs{...} }
type TeamMembershipMapOutput ¶
type TeamMembershipMapOutput struct{ *pulumi.OutputState }
func (TeamMembershipMapOutput) ElementType ¶
func (TeamMembershipMapOutput) ElementType() reflect.Type
func (TeamMembershipMapOutput) MapIndex ¶
func (o TeamMembershipMapOutput) MapIndex(k pulumi.StringInput) TeamMembershipOutput
func (TeamMembershipMapOutput) ToTeamMembershipMapOutput ¶
func (o TeamMembershipMapOutput) ToTeamMembershipMapOutput() TeamMembershipMapOutput
func (TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext ¶
func (o TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput
type TeamMembershipOutput ¶
type TeamMembershipOutput struct {
*pulumi.OutputState
}
func (TeamMembershipOutput) ElementType ¶
func (TeamMembershipOutput) ElementType() reflect.Type
func (TeamMembershipOutput) ToTeamMembershipOutput ¶
func (o TeamMembershipOutput) ToTeamMembershipOutput() TeamMembershipOutput
func (TeamMembershipOutput) ToTeamMembershipOutputWithContext ¶
func (o TeamMembershipOutput) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
func (TeamMembershipOutput) ToTeamMembershipPtrOutput ¶
func (o TeamMembershipOutput) ToTeamMembershipPtrOutput() TeamMembershipPtrOutput
func (TeamMembershipOutput) ToTeamMembershipPtrOutputWithContext ¶
func (o TeamMembershipOutput) ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput
type TeamMembershipPtrInput ¶
type TeamMembershipPtrInput interface { pulumi.Input ToTeamMembershipPtrOutput() TeamMembershipPtrOutput ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput }
type TeamMembershipPtrOutput ¶
type TeamMembershipPtrOutput struct {
*pulumi.OutputState
}
func (TeamMembershipPtrOutput) ElementType ¶
func (TeamMembershipPtrOutput) ElementType() reflect.Type
func (TeamMembershipPtrOutput) ToTeamMembershipPtrOutput ¶
func (o TeamMembershipPtrOutput) ToTeamMembershipPtrOutput() TeamMembershipPtrOutput
func (TeamMembershipPtrOutput) ToTeamMembershipPtrOutputWithContext ¶
func (o TeamMembershipPtrOutput) ToTeamMembershipPtrOutputWithContext(ctx context.Context) TeamMembershipPtrOutput
type TeamMembershipState ¶
type TeamMembershipState struct { // The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`.\ // These roles match up to user roles in the following ways: // * User role of `user` is a Team role of `manager` // * User role of `limitedUser` is a Team role of `responder` Role pulumi.StringPtrInput // The ID of the team in which the user will belong. TeamId pulumi.StringPtrInput // The ID of the user to add to the team. UserId pulumi.StringPtrInput }
func (TeamMembershipState) ElementType ¶
func (TeamMembershipState) ElementType() reflect.Type
type TeamOutput ¶
type TeamOutput struct {
*pulumi.OutputState
}
func (TeamOutput) ElementType ¶
func (TeamOutput) ElementType() reflect.Type
func (TeamOutput) ToTeamOutput ¶
func (o TeamOutput) ToTeamOutput() TeamOutput
func (TeamOutput) ToTeamOutputWithContext ¶
func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput
func (TeamOutput) ToTeamPtrOutput ¶
func (o TeamOutput) ToTeamPtrOutput() TeamPtrOutput
func (TeamOutput) ToTeamPtrOutputWithContext ¶
func (o TeamOutput) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput
type TeamPtrInput ¶
type TeamPtrInput interface { pulumi.Input ToTeamPtrOutput() TeamPtrOutput ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput }
type TeamPtrOutput ¶
type TeamPtrOutput struct {
*pulumi.OutputState
}
func (TeamPtrOutput) ElementType ¶
func (TeamPtrOutput) ElementType() reflect.Type
func (TeamPtrOutput) ToTeamPtrOutput ¶
func (o TeamPtrOutput) ToTeamPtrOutput() TeamPtrOutput
func (TeamPtrOutput) ToTeamPtrOutputWithContext ¶
func (o TeamPtrOutput) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput
type TeamState ¶
type TeamState struct { Description pulumi.StringPtrInput // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringPtrInput // The name of the group. Name pulumi.StringPtrInput // ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information. Parent pulumi.StringPtrInput }
func (TeamState) ElementType ¶
type User ¶
type User struct { pulumi.CustomResourceState // The URL of the user's avatar. AvatarUrl pulumi.StringOutput `pulumi:"avatarUrl"` // The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue. Color pulumi.StringOutput `pulumi:"color"` Description pulumi.StringOutput `pulumi:"description"` // The user's email address. Email pulumi.StringOutput `pulumi:"email"` // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"` // If true, the user has an outstanding invitation. InvitationSent pulumi.BoolOutput `pulumi:"invitationSent"` // The user's title. JobTitle pulumi.StringPtrOutput `pulumi:"jobTitle"` // The name of the user. Name pulumi.StringOutput `pulumi:"name"` // The user role. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`.\ // Notes: // * Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser` or a `readOnlyLimitedUser`, and must have advanced permissions abilities to set a user as `observer` or `restrictedAccess`. // * With advanced permissions, users can have both a user role (base role) and a team role. The team role can configured in the `TeamMembership` resource. // * Mapping of `role` values to Web UI user role names available in the [user roles support page](https://support.pagerduty.com/docs/advanced-permissions#roles-in-the-rest-api-and-saml). Role pulumi.StringPtrOutput `pulumi:"role"` // A list of teams the user should belong to. Please use `TeamMembership` instead. // // Deprecated: Use the 'pagerduty_team_membership' resource instead. Teams pulumi.StringArrayOutput `pulumi:"teams"` // The time zone of the user. Default is account default timezone. TimeZone pulumi.StringOutput `pulumi:"timeZone"` }
A [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users/get) is a member of a PagerDuty account that have the ability to interact with incidents and other data on the account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.NewUser(ctx, "example", &pagerduty.UserArgs{ Email: pulumi.String("125.greenholt.earline@graham.name"), }) if err != nil { return err } return nil }) }
```
## Import
Users can be imported using the `id`, e.g.
```sh
$ pulumi import pagerduty:index/user:User main PLBP09X
```
func GetUser ¶
func GetUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)
GetUser gets an existing User 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 NewUser ¶
func NewUser(ctx *pulumi.Context, name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)
NewUser registers a new resource with the given unique name, arguments, and options.
func (*User) ElementType ¶
func (*User) ToUserOutput ¶
func (i *User) ToUserOutput() UserOutput
func (*User) ToUserOutputWithContext ¶
func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput
func (*User) ToUserPtrOutput ¶
func (i *User) ToUserPtrOutput() UserPtrOutput
func (*User) ToUserPtrOutputWithContext ¶
func (i *User) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput
type UserArgs ¶
type UserArgs struct { // The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue. Color pulumi.StringPtrInput Description pulumi.StringPtrInput // The user's email address. Email pulumi.StringInput // The user's title. JobTitle pulumi.StringPtrInput // The name of the user. Name pulumi.StringPtrInput // The user role. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`.\ // Notes: // * Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser` or a `readOnlyLimitedUser`, and must have advanced permissions abilities to set a user as `observer` or `restrictedAccess`. // * With advanced permissions, users can have both a user role (base role) and a team role. The team role can configured in the `TeamMembership` resource. // * Mapping of `role` values to Web UI user role names available in the [user roles support page](https://support.pagerduty.com/docs/advanced-permissions#roles-in-the-rest-api-and-saml). Role pulumi.StringPtrInput // A list of teams the user should belong to. Please use `TeamMembership` instead. // // Deprecated: Use the 'pagerduty_team_membership' resource instead. Teams pulumi.StringArrayInput // The time zone of the user. Default is account default timezone. TimeZone pulumi.StringPtrInput }
The set of arguments for constructing a User resource.
func (UserArgs) ElementType ¶
type UserArray ¶
type UserArray []UserInput
func (UserArray) ElementType ¶
func (UserArray) ToUserArrayOutput ¶
func (i UserArray) ToUserArrayOutput() UserArrayOutput
func (UserArray) ToUserArrayOutputWithContext ¶
func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserArrayInput ¶
type UserArrayInput interface { pulumi.Input ToUserArrayOutput() UserArrayOutput ToUserArrayOutputWithContext(context.Context) UserArrayOutput }
UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:
UserArray{ UserArgs{...} }
type UserArrayOutput ¶
type UserArrayOutput struct{ *pulumi.OutputState }
func (UserArrayOutput) ElementType ¶
func (UserArrayOutput) ElementType() reflect.Type
func (UserArrayOutput) Index ¶
func (o UserArrayOutput) Index(i pulumi.IntInput) UserOutput
func (UserArrayOutput) ToUserArrayOutput ¶
func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput
func (UserArrayOutput) ToUserArrayOutputWithContext ¶
func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserContactMethod ¶
type UserContactMethod struct { pulumi.CustomResourceState // The "address" to deliver to: `email`, `phone number`, etc., depending on the type. Address pulumi.StringOutput `pulumi:"address"` // If true, this phone has been blacklisted by PagerDuty and no messages will be sent to it. Blacklisted pulumi.BoolOutput `pulumi:"blacklisted"` // The 1-to-3 digit country calling code. Required when using `phoneContactMethod` or `smsContactMethod`. CountryCode pulumi.IntPtrOutput `pulumi:"countryCode"` // If true, this phone is capable of receiving SMS messages. Enabled pulumi.BoolOutput `pulumi:"enabled"` // The label (e.g., "Work", "Mobile", etc.). Label pulumi.StringOutput `pulumi:"label"` // Send an abbreviated email message instead of the standard email output. SendShortEmail pulumi.BoolPtrOutput `pulumi:"sendShortEmail"` // The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`). Type pulumi.StringOutput `pulumi:"type"` // The ID of the user. UserId pulumi.StringOutput `pulumi:"userId"` }
A [contact method](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1contact_methods/get) is a contact method for a PagerDuty user (email, phone or SMS).
## Import
Contact methods can be imported using the `user_id` and the `id`, e.g.
```sh
$ pulumi import pagerduty:index/userContactMethod:UserContactMethod main PLBP09X:PLBP09X
```
func GetUserContactMethod ¶
func GetUserContactMethod(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserContactMethodState, opts ...pulumi.ResourceOption) (*UserContactMethod, error)
GetUserContactMethod gets an existing UserContactMethod 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 NewUserContactMethod ¶
func NewUserContactMethod(ctx *pulumi.Context, name string, args *UserContactMethodArgs, opts ...pulumi.ResourceOption) (*UserContactMethod, error)
NewUserContactMethod registers a new resource with the given unique name, arguments, and options.
func (*UserContactMethod) ElementType ¶
func (*UserContactMethod) ElementType() reflect.Type
func (*UserContactMethod) ToUserContactMethodOutput ¶
func (i *UserContactMethod) ToUserContactMethodOutput() UserContactMethodOutput
func (*UserContactMethod) ToUserContactMethodOutputWithContext ¶
func (i *UserContactMethod) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput
func (*UserContactMethod) ToUserContactMethodPtrOutput ¶
func (i *UserContactMethod) ToUserContactMethodPtrOutput() UserContactMethodPtrOutput
func (*UserContactMethod) ToUserContactMethodPtrOutputWithContext ¶
func (i *UserContactMethod) ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput
type UserContactMethodArgs ¶
type UserContactMethodArgs struct { // The "address" to deliver to: `email`, `phone number`, etc., depending on the type. Address pulumi.StringInput // The 1-to-3 digit country calling code. Required when using `phoneContactMethod` or `smsContactMethod`. CountryCode pulumi.IntPtrInput // The label (e.g., "Work", "Mobile", etc.). Label pulumi.StringInput // Send an abbreviated email message instead of the standard email output. SendShortEmail pulumi.BoolPtrInput // The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`). Type pulumi.StringInput // The ID of the user. UserId pulumi.StringInput }
The set of arguments for constructing a UserContactMethod resource.
func (UserContactMethodArgs) ElementType ¶
func (UserContactMethodArgs) ElementType() reflect.Type
type UserContactMethodArray ¶
type UserContactMethodArray []UserContactMethodInput
func (UserContactMethodArray) ElementType ¶
func (UserContactMethodArray) ElementType() reflect.Type
func (UserContactMethodArray) ToUserContactMethodArrayOutput ¶
func (i UserContactMethodArray) ToUserContactMethodArrayOutput() UserContactMethodArrayOutput
func (UserContactMethodArray) ToUserContactMethodArrayOutputWithContext ¶
func (i UserContactMethodArray) ToUserContactMethodArrayOutputWithContext(ctx context.Context) UserContactMethodArrayOutput
type UserContactMethodArrayInput ¶
type UserContactMethodArrayInput interface { pulumi.Input ToUserContactMethodArrayOutput() UserContactMethodArrayOutput ToUserContactMethodArrayOutputWithContext(context.Context) UserContactMethodArrayOutput }
UserContactMethodArrayInput is an input type that accepts UserContactMethodArray and UserContactMethodArrayOutput values. You can construct a concrete instance of `UserContactMethodArrayInput` via:
UserContactMethodArray{ UserContactMethodArgs{...} }
type UserContactMethodArrayOutput ¶
type UserContactMethodArrayOutput struct{ *pulumi.OutputState }
func (UserContactMethodArrayOutput) ElementType ¶
func (UserContactMethodArrayOutput) ElementType() reflect.Type
func (UserContactMethodArrayOutput) Index ¶
func (o UserContactMethodArrayOutput) Index(i pulumi.IntInput) UserContactMethodOutput
func (UserContactMethodArrayOutput) ToUserContactMethodArrayOutput ¶
func (o UserContactMethodArrayOutput) ToUserContactMethodArrayOutput() UserContactMethodArrayOutput
func (UserContactMethodArrayOutput) ToUserContactMethodArrayOutputWithContext ¶
func (o UserContactMethodArrayOutput) ToUserContactMethodArrayOutputWithContext(ctx context.Context) UserContactMethodArrayOutput
type UserContactMethodInput ¶
type UserContactMethodInput interface { pulumi.Input ToUserContactMethodOutput() UserContactMethodOutput ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput }
type UserContactMethodMap ¶
type UserContactMethodMap map[string]UserContactMethodInput
func (UserContactMethodMap) ElementType ¶
func (UserContactMethodMap) ElementType() reflect.Type
func (UserContactMethodMap) ToUserContactMethodMapOutput ¶
func (i UserContactMethodMap) ToUserContactMethodMapOutput() UserContactMethodMapOutput
func (UserContactMethodMap) ToUserContactMethodMapOutputWithContext ¶
func (i UserContactMethodMap) ToUserContactMethodMapOutputWithContext(ctx context.Context) UserContactMethodMapOutput
type UserContactMethodMapInput ¶
type UserContactMethodMapInput interface { pulumi.Input ToUserContactMethodMapOutput() UserContactMethodMapOutput ToUserContactMethodMapOutputWithContext(context.Context) UserContactMethodMapOutput }
UserContactMethodMapInput is an input type that accepts UserContactMethodMap and UserContactMethodMapOutput values. You can construct a concrete instance of `UserContactMethodMapInput` via:
UserContactMethodMap{ "key": UserContactMethodArgs{...} }
type UserContactMethodMapOutput ¶
type UserContactMethodMapOutput struct{ *pulumi.OutputState }
func (UserContactMethodMapOutput) ElementType ¶
func (UserContactMethodMapOutput) ElementType() reflect.Type
func (UserContactMethodMapOutput) MapIndex ¶
func (o UserContactMethodMapOutput) MapIndex(k pulumi.StringInput) UserContactMethodOutput
func (UserContactMethodMapOutput) ToUserContactMethodMapOutput ¶
func (o UserContactMethodMapOutput) ToUserContactMethodMapOutput() UserContactMethodMapOutput
func (UserContactMethodMapOutput) ToUserContactMethodMapOutputWithContext ¶
func (o UserContactMethodMapOutput) ToUserContactMethodMapOutputWithContext(ctx context.Context) UserContactMethodMapOutput
type UserContactMethodOutput ¶
type UserContactMethodOutput struct {
*pulumi.OutputState
}
func (UserContactMethodOutput) ElementType ¶
func (UserContactMethodOutput) ElementType() reflect.Type
func (UserContactMethodOutput) ToUserContactMethodOutput ¶
func (o UserContactMethodOutput) ToUserContactMethodOutput() UserContactMethodOutput
func (UserContactMethodOutput) ToUserContactMethodOutputWithContext ¶
func (o UserContactMethodOutput) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput
func (UserContactMethodOutput) ToUserContactMethodPtrOutput ¶
func (o UserContactMethodOutput) ToUserContactMethodPtrOutput() UserContactMethodPtrOutput
func (UserContactMethodOutput) ToUserContactMethodPtrOutputWithContext ¶
func (o UserContactMethodOutput) ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput
type UserContactMethodPtrInput ¶
type UserContactMethodPtrInput interface { pulumi.Input ToUserContactMethodPtrOutput() UserContactMethodPtrOutput ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput }
type UserContactMethodPtrOutput ¶
type UserContactMethodPtrOutput struct {
*pulumi.OutputState
}
func (UserContactMethodPtrOutput) ElementType ¶
func (UserContactMethodPtrOutput) ElementType() reflect.Type
func (UserContactMethodPtrOutput) ToUserContactMethodPtrOutput ¶
func (o UserContactMethodPtrOutput) ToUserContactMethodPtrOutput() UserContactMethodPtrOutput
func (UserContactMethodPtrOutput) ToUserContactMethodPtrOutputWithContext ¶
func (o UserContactMethodPtrOutput) ToUserContactMethodPtrOutputWithContext(ctx context.Context) UserContactMethodPtrOutput
type UserContactMethodState ¶
type UserContactMethodState struct { // The "address" to deliver to: `email`, `phone number`, etc., depending on the type. Address pulumi.StringPtrInput // If true, this phone has been blacklisted by PagerDuty and no messages will be sent to it. Blacklisted pulumi.BoolPtrInput // The 1-to-3 digit country calling code. Required when using `phoneContactMethod` or `smsContactMethod`. CountryCode pulumi.IntPtrInput // If true, this phone is capable of receiving SMS messages. Enabled pulumi.BoolPtrInput // The label (e.g., "Work", "Mobile", etc.). Label pulumi.StringPtrInput // Send an abbreviated email message instead of the standard email output. SendShortEmail pulumi.BoolPtrInput // The contact method type. May be (`emailContactMethod`, `phoneContactMethod`, `smsContactMethod`, `pushNotificationContactMethod`). Type pulumi.StringPtrInput // The ID of the user. UserId pulumi.StringPtrInput }
func (UserContactMethodState) ElementType ¶
func (UserContactMethodState) ElementType() reflect.Type
type UserInput ¶
type UserInput interface { pulumi.Input ToUserOutput() UserOutput ToUserOutputWithContext(ctx context.Context) UserOutput }
type UserMap ¶
func (UserMap) ElementType ¶
func (UserMap) ToUserMapOutput ¶
func (i UserMap) ToUserMapOutput() UserMapOutput
func (UserMap) ToUserMapOutputWithContext ¶
func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserMapInput ¶
type UserMapInput interface { pulumi.Input ToUserMapOutput() UserMapOutput ToUserMapOutputWithContext(context.Context) UserMapOutput }
UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:
UserMap{ "key": UserArgs{...} }
type UserMapOutput ¶
type UserMapOutput struct{ *pulumi.OutputState }
func (UserMapOutput) ElementType ¶
func (UserMapOutput) ElementType() reflect.Type
func (UserMapOutput) MapIndex ¶
func (o UserMapOutput) MapIndex(k pulumi.StringInput) UserOutput
func (UserMapOutput) ToUserMapOutput ¶
func (o UserMapOutput) ToUserMapOutput() UserMapOutput
func (UserMapOutput) ToUserMapOutputWithContext ¶
func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserNotificationRule ¶
type UserNotificationRule struct { pulumi.CustomResourceState // A contact method block, configured as a block described below. ContactMethod UserNotificationRuleContactMethodOutput `pulumi:"contactMethod"` // The delay before firing the rule, in minutes. StartDelayInMinutes pulumi.IntOutput `pulumi:"startDelayInMinutes"` // Which incident urgency this rule is used for. Account must have the `urgencies` ability to have a low urgency notification rule. Can be `high` or `low`. Urgency pulumi.StringOutput `pulumi:"urgency"` // The ID of the user. UserId pulumi.StringOutput `pulumi:"userId"` }
A [notification rule](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1notification_rules~1%7Bnotification_rule_id%7D/get) configures where and when a PagerDuty user is notified when a triggered incident is assigned to them. Unique notification rules can be created for both high and low-urgency incidents.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := pagerduty.NewUser(ctx, "example", &pagerduty.UserArgs{ Email: pulumi.String("125.greenholt.earline@graham.name"), }) if err != nil { return err } email, err := pagerduty.NewUserContactMethod(ctx, "email", &pagerduty.UserContactMethodArgs{ UserId: example.ID(), Type: pulumi.String("email_contact_method"), Address: pulumi.String("foo@bar.com"), Label: pulumi.String("Work"), }) if err != nil { return err } phone, err := pagerduty.NewUserContactMethod(ctx, "phone", &pagerduty.UserContactMethodArgs{ UserId: example.ID(), Type: pulumi.String("phone_contact_method"), CountryCode: pulumi.Int(1), Address: pulumi.String("2025550199"), Label: pulumi.String("Work"), }) if err != nil { return err } sms, err := pagerduty.NewUserContactMethod(ctx, "sms", &pagerduty.UserContactMethodArgs{ UserId: example.ID(), Type: pulumi.String("sms_contact_method"), CountryCode: pulumi.Int(1), Address: pulumi.String("2025550199"), Label: pulumi.String("Work"), }) if err != nil { return err } _, err = pagerduty.NewUserNotificationRule(ctx, "highUrgencyPhone", &pagerduty.UserNotificationRuleArgs{ UserId: example.ID(), StartDelayInMinutes: pulumi.Int(1), Urgency: pulumi.String("high"), ContactMethod: &pagerduty.UserNotificationRuleContactMethodArgs{ Type: pulumi.String("phone_contact_method"), Id: phone.ID(), }, }) if err != nil { return err } _, err = pagerduty.NewUserNotificationRule(ctx, "lowUrgencyEmail", &pagerduty.UserNotificationRuleArgs{ UserId: example.ID(), StartDelayInMinutes: pulumi.Int(1), Urgency: pulumi.String("low"), ContactMethod: &pagerduty.UserNotificationRuleContactMethodArgs{ Type: pulumi.String("email_contact_method"), Id: email.ID(), }, }) if err != nil { return err } _, err = pagerduty.NewUserNotificationRule(ctx, "lowUrgencySms", &pagerduty.UserNotificationRuleArgs{ UserId: example.ID(), StartDelayInMinutes: pulumi.Int(10), Urgency: pulumi.String("low"), ContactMethod: &pagerduty.UserNotificationRuleContactMethodArgs{ Type: pulumi.String("sms_contact_method"), Id: sms.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
User notification rules can be imported using the `user_id` and the `id`, e.g.
```sh
$ pulumi import pagerduty:index/userNotificationRule:UserNotificationRule main PXPGF42:PPSCXAN
```
func GetUserNotificationRule ¶
func GetUserNotificationRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserNotificationRuleState, opts ...pulumi.ResourceOption) (*UserNotificationRule, error)
GetUserNotificationRule gets an existing UserNotificationRule 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 NewUserNotificationRule ¶
func NewUserNotificationRule(ctx *pulumi.Context, name string, args *UserNotificationRuleArgs, opts ...pulumi.ResourceOption) (*UserNotificationRule, error)
NewUserNotificationRule registers a new resource with the given unique name, arguments, and options.
func (*UserNotificationRule) ElementType ¶
func (*UserNotificationRule) ElementType() reflect.Type
func (*UserNotificationRule) ToUserNotificationRuleOutput ¶
func (i *UserNotificationRule) ToUserNotificationRuleOutput() UserNotificationRuleOutput
func (*UserNotificationRule) ToUserNotificationRuleOutputWithContext ¶
func (i *UserNotificationRule) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput
func (*UserNotificationRule) ToUserNotificationRulePtrOutput ¶
func (i *UserNotificationRule) ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput
func (*UserNotificationRule) ToUserNotificationRulePtrOutputWithContext ¶
func (i *UserNotificationRule) ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput
type UserNotificationRuleArgs ¶
type UserNotificationRuleArgs struct { // A contact method block, configured as a block described below. ContactMethod UserNotificationRuleContactMethodInput // The delay before firing the rule, in minutes. StartDelayInMinutes pulumi.IntInput // Which incident urgency this rule is used for. Account must have the `urgencies` ability to have a low urgency notification rule. Can be `high` or `low`. Urgency pulumi.StringInput // The ID of the user. UserId pulumi.StringInput }
The set of arguments for constructing a UserNotificationRule resource.
func (UserNotificationRuleArgs) ElementType ¶
func (UserNotificationRuleArgs) ElementType() reflect.Type
type UserNotificationRuleArray ¶
type UserNotificationRuleArray []UserNotificationRuleInput
func (UserNotificationRuleArray) ElementType ¶
func (UserNotificationRuleArray) ElementType() reflect.Type
func (UserNotificationRuleArray) ToUserNotificationRuleArrayOutput ¶
func (i UserNotificationRuleArray) ToUserNotificationRuleArrayOutput() UserNotificationRuleArrayOutput
func (UserNotificationRuleArray) ToUserNotificationRuleArrayOutputWithContext ¶
func (i UserNotificationRuleArray) ToUserNotificationRuleArrayOutputWithContext(ctx context.Context) UserNotificationRuleArrayOutput
type UserNotificationRuleArrayInput ¶
type UserNotificationRuleArrayInput interface { pulumi.Input ToUserNotificationRuleArrayOutput() UserNotificationRuleArrayOutput ToUserNotificationRuleArrayOutputWithContext(context.Context) UserNotificationRuleArrayOutput }
UserNotificationRuleArrayInput is an input type that accepts UserNotificationRuleArray and UserNotificationRuleArrayOutput values. You can construct a concrete instance of `UserNotificationRuleArrayInput` via:
UserNotificationRuleArray{ UserNotificationRuleArgs{...} }
type UserNotificationRuleArrayOutput ¶
type UserNotificationRuleArrayOutput struct{ *pulumi.OutputState }
func (UserNotificationRuleArrayOutput) ElementType ¶
func (UserNotificationRuleArrayOutput) ElementType() reflect.Type
func (UserNotificationRuleArrayOutput) Index ¶
func (o UserNotificationRuleArrayOutput) Index(i pulumi.IntInput) UserNotificationRuleOutput
func (UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutput ¶
func (o UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutput() UserNotificationRuleArrayOutput
func (UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutputWithContext ¶
func (o UserNotificationRuleArrayOutput) ToUserNotificationRuleArrayOutputWithContext(ctx context.Context) UserNotificationRuleArrayOutput
type UserNotificationRuleContactMethodArgs ¶
type UserNotificationRuleContactMethodArgs struct { // The id of the referenced contact method. Id pulumi.StringInput `pulumi:"id"` // The type of contact method. Can be `emailContactMethod`, `phoneContactMethod`, `pushNotificationContactMethod` or `smsContactMethod`. Type pulumi.StringInput `pulumi:"type"` }
func (UserNotificationRuleContactMethodArgs) ElementType ¶
func (UserNotificationRuleContactMethodArgs) ElementType() reflect.Type
func (UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutput ¶
func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutput() UserNotificationRuleContactMethodOutput
func (UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutputWithContext ¶
func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodOutput
func (UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutput ¶
func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput
func (UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutputWithContext ¶
func (i UserNotificationRuleContactMethodArgs) ToUserNotificationRuleContactMethodPtrOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodPtrOutput
type UserNotificationRuleContactMethodInput ¶
type UserNotificationRuleContactMethodInput interface { pulumi.Input ToUserNotificationRuleContactMethodOutput() UserNotificationRuleContactMethodOutput ToUserNotificationRuleContactMethodOutputWithContext(context.Context) UserNotificationRuleContactMethodOutput }
UserNotificationRuleContactMethodInput is an input type that accepts UserNotificationRuleContactMethodArgs and UserNotificationRuleContactMethodOutput values. You can construct a concrete instance of `UserNotificationRuleContactMethodInput` via:
UserNotificationRuleContactMethodArgs{...}
type UserNotificationRuleContactMethodOutput ¶
type UserNotificationRuleContactMethodOutput struct{ *pulumi.OutputState }
func (UserNotificationRuleContactMethodOutput) ElementType ¶
func (UserNotificationRuleContactMethodOutput) ElementType() reflect.Type
func (UserNotificationRuleContactMethodOutput) Id ¶
func (o UserNotificationRuleContactMethodOutput) Id() pulumi.StringOutput
The id of the referenced contact method.
func (UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutput ¶
func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutput() UserNotificationRuleContactMethodOutput
func (UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutputWithContext ¶
func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodOutput
func (UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutput ¶
func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput
func (UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext ¶
func (o UserNotificationRuleContactMethodOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodPtrOutput
func (UserNotificationRuleContactMethodOutput) Type ¶
func (o UserNotificationRuleContactMethodOutput) Type() pulumi.StringOutput
The type of contact method. Can be `emailContactMethod`, `phoneContactMethod`, `pushNotificationContactMethod` or `smsContactMethod`.
type UserNotificationRuleContactMethodPtrInput ¶
type UserNotificationRuleContactMethodPtrInput interface { pulumi.Input ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput ToUserNotificationRuleContactMethodPtrOutputWithContext(context.Context) UserNotificationRuleContactMethodPtrOutput }
UserNotificationRuleContactMethodPtrInput is an input type that accepts UserNotificationRuleContactMethodArgs, UserNotificationRuleContactMethodPtr and UserNotificationRuleContactMethodPtrOutput values. You can construct a concrete instance of `UserNotificationRuleContactMethodPtrInput` via:
UserNotificationRuleContactMethodArgs{...} or: nil
func UserNotificationRuleContactMethodPtr ¶
func UserNotificationRuleContactMethodPtr(v *UserNotificationRuleContactMethodArgs) UserNotificationRuleContactMethodPtrInput
type UserNotificationRuleContactMethodPtrOutput ¶
type UserNotificationRuleContactMethodPtrOutput struct{ *pulumi.OutputState }
func (UserNotificationRuleContactMethodPtrOutput) ElementType ¶
func (UserNotificationRuleContactMethodPtrOutput) ElementType() reflect.Type
func (UserNotificationRuleContactMethodPtrOutput) Id ¶
func (o UserNotificationRuleContactMethodPtrOutput) Id() pulumi.StringPtrOutput
The id of the referenced contact method.
func (UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutput ¶
func (o UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutput() UserNotificationRuleContactMethodPtrOutput
func (UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext ¶
func (o UserNotificationRuleContactMethodPtrOutput) ToUserNotificationRuleContactMethodPtrOutputWithContext(ctx context.Context) UserNotificationRuleContactMethodPtrOutput
func (UserNotificationRuleContactMethodPtrOutput) Type ¶
func (o UserNotificationRuleContactMethodPtrOutput) Type() pulumi.StringPtrOutput
The type of contact method. Can be `emailContactMethod`, `phoneContactMethod`, `pushNotificationContactMethod` or `smsContactMethod`.
type UserNotificationRuleInput ¶
type UserNotificationRuleInput interface { pulumi.Input ToUserNotificationRuleOutput() UserNotificationRuleOutput ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput }
type UserNotificationRuleMap ¶
type UserNotificationRuleMap map[string]UserNotificationRuleInput
func (UserNotificationRuleMap) ElementType ¶
func (UserNotificationRuleMap) ElementType() reflect.Type
func (UserNotificationRuleMap) ToUserNotificationRuleMapOutput ¶
func (i UserNotificationRuleMap) ToUserNotificationRuleMapOutput() UserNotificationRuleMapOutput
func (UserNotificationRuleMap) ToUserNotificationRuleMapOutputWithContext ¶
func (i UserNotificationRuleMap) ToUserNotificationRuleMapOutputWithContext(ctx context.Context) UserNotificationRuleMapOutput
type UserNotificationRuleMapInput ¶
type UserNotificationRuleMapInput interface { pulumi.Input ToUserNotificationRuleMapOutput() UserNotificationRuleMapOutput ToUserNotificationRuleMapOutputWithContext(context.Context) UserNotificationRuleMapOutput }
UserNotificationRuleMapInput is an input type that accepts UserNotificationRuleMap and UserNotificationRuleMapOutput values. You can construct a concrete instance of `UserNotificationRuleMapInput` via:
UserNotificationRuleMap{ "key": UserNotificationRuleArgs{...} }
type UserNotificationRuleMapOutput ¶
type UserNotificationRuleMapOutput struct{ *pulumi.OutputState }
func (UserNotificationRuleMapOutput) ElementType ¶
func (UserNotificationRuleMapOutput) ElementType() reflect.Type
func (UserNotificationRuleMapOutput) MapIndex ¶
func (o UserNotificationRuleMapOutput) MapIndex(k pulumi.StringInput) UserNotificationRuleOutput
func (UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutput ¶
func (o UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutput() UserNotificationRuleMapOutput
func (UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutputWithContext ¶
func (o UserNotificationRuleMapOutput) ToUserNotificationRuleMapOutputWithContext(ctx context.Context) UserNotificationRuleMapOutput
type UserNotificationRuleOutput ¶
type UserNotificationRuleOutput struct {
*pulumi.OutputState
}
func (UserNotificationRuleOutput) ElementType ¶
func (UserNotificationRuleOutput) ElementType() reflect.Type
func (UserNotificationRuleOutput) ToUserNotificationRuleOutput ¶
func (o UserNotificationRuleOutput) ToUserNotificationRuleOutput() UserNotificationRuleOutput
func (UserNotificationRuleOutput) ToUserNotificationRuleOutputWithContext ¶
func (o UserNotificationRuleOutput) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput
func (UserNotificationRuleOutput) ToUserNotificationRulePtrOutput ¶
func (o UserNotificationRuleOutput) ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput
func (UserNotificationRuleOutput) ToUserNotificationRulePtrOutputWithContext ¶
func (o UserNotificationRuleOutput) ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput
type UserNotificationRulePtrInput ¶
type UserNotificationRulePtrInput interface { pulumi.Input ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput }
type UserNotificationRulePtrOutput ¶
type UserNotificationRulePtrOutput struct {
*pulumi.OutputState
}
func (UserNotificationRulePtrOutput) ElementType ¶
func (UserNotificationRulePtrOutput) ElementType() reflect.Type
func (UserNotificationRulePtrOutput) ToUserNotificationRulePtrOutput ¶
func (o UserNotificationRulePtrOutput) ToUserNotificationRulePtrOutput() UserNotificationRulePtrOutput
func (UserNotificationRulePtrOutput) ToUserNotificationRulePtrOutputWithContext ¶
func (o UserNotificationRulePtrOutput) ToUserNotificationRulePtrOutputWithContext(ctx context.Context) UserNotificationRulePtrOutput
type UserNotificationRuleState ¶
type UserNotificationRuleState struct { // A contact method block, configured as a block described below. ContactMethod UserNotificationRuleContactMethodPtrInput // The delay before firing the rule, in minutes. StartDelayInMinutes pulumi.IntPtrInput // Which incident urgency this rule is used for. Account must have the `urgencies` ability to have a low urgency notification rule. Can be `high` or `low`. Urgency pulumi.StringPtrInput // The ID of the user. UserId pulumi.StringPtrInput }
func (UserNotificationRuleState) ElementType ¶
func (UserNotificationRuleState) ElementType() reflect.Type
type UserOutput ¶
type UserOutput struct {
*pulumi.OutputState
}
func (UserOutput) ElementType ¶
func (UserOutput) ElementType() reflect.Type
func (UserOutput) ToUserOutput ¶
func (o UserOutput) ToUserOutput() UserOutput
func (UserOutput) ToUserOutputWithContext ¶
func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
func (UserOutput) ToUserPtrOutput ¶
func (o UserOutput) ToUserPtrOutput() UserPtrOutput
func (UserOutput) ToUserPtrOutputWithContext ¶
func (o UserOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput
type UserPtrInput ¶
type UserPtrInput interface { pulumi.Input ToUserPtrOutput() UserPtrOutput ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput }
type UserPtrOutput ¶
type UserPtrOutput struct {
*pulumi.OutputState
}
func (UserPtrOutput) ElementType ¶
func (UserPtrOutput) ElementType() reflect.Type
func (UserPtrOutput) ToUserPtrOutput ¶
func (o UserPtrOutput) ToUserPtrOutput() UserPtrOutput
func (UserPtrOutput) ToUserPtrOutputWithContext ¶
func (o UserPtrOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput
type UserState ¶
type UserState struct { // The URL of the user's avatar. AvatarUrl pulumi.StringPtrInput // The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue. Color pulumi.StringPtrInput Description pulumi.StringPtrInput // The user's email address. Email pulumi.StringPtrInput // URL at which the entity is uniquely displayed in the Web app HtmlUrl pulumi.StringPtrInput // If true, the user has an outstanding invitation. InvitationSent pulumi.BoolPtrInput // The user's title. JobTitle pulumi.StringPtrInput // The name of the user. Name pulumi.StringPtrInput // The user role. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser`, `readOnlyLimitedUser`, `restrictedAccess`, or `user`.\ // Notes: // * Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser` or a `readOnlyLimitedUser`, and must have advanced permissions abilities to set a user as `observer` or `restrictedAccess`. // * With advanced permissions, users can have both a user role (base role) and a team role. The team role can configured in the `TeamMembership` resource. // * Mapping of `role` values to Web UI user role names available in the [user roles support page](https://support.pagerduty.com/docs/advanced-permissions#roles-in-the-rest-api-and-saml). Role pulumi.StringPtrInput // A list of teams the user should belong to. Please use `TeamMembership` instead. // // Deprecated: Use the 'pagerduty_team_membership' resource instead. Teams pulumi.StringArrayInput // The time zone of the user. Default is account default timezone. TimeZone pulumi.StringPtrInput }
func (UserState) ElementType ¶
Source Files ¶
- addon.go
- businessService.go
- doc.go
- escalationPolicy.go
- eventRule.go
- extension.go
- extensionServiceNow.go
- getBusinessService.go
- getEscalationPolicy.go
- getExtensionSchema.go
- getPriority.go
- getRuleset.go
- getSchedule.go
- getService.go
- getServiceIntegration.go
- getTeam.go
- getUser.go
- getUserContactMethod.go
- getVendor.go
- init.go
- maintenanceWindow.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- responsePlay.go
- ruleset.go
- rulesetRule.go
- schedule.go
- service.go
- serviceDependency.go
- serviceEventRule.go
- serviceIntegration.go
- slackConnection.go
- team.go
- teamMembership.go
- user.go
- userContactMethod.go
- userNotificationRule.go