Documentation ¶
Overview ¶
A Pulumi package for creating and managing pagerduty cloud resources.
Index ¶
- type Addon
- type AddonArgs
- type AddonInput
- type AddonOutput
- type AddonState
- type BusinessService
- type BusinessServiceArgs
- type BusinessServiceInput
- type BusinessServiceOutput
- type BusinessServiceState
- type EscalationPolicy
- type EscalationPolicyArgs
- type EscalationPolicyInput
- type EscalationPolicyOutput
- 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
- type EventRuleArgs
- type EventRuleInput
- type EventRuleOutput
- type EventRuleState
- type Extension
- type ExtensionArgs
- type ExtensionInput
- type ExtensionOutput
- type ExtensionState
- type GetExtensionSchemaArgs
- type GetExtensionSchemaResult
- type GetPriorityArgs
- type GetPriorityResult
- type GetVendorArgs
- type GetVendorResult
- type LookupBusinessServiceArgs
- type LookupBusinessServiceResult
- type LookupEscalationPolicyArgs
- type LookupEscalationPolicyResult
- type LookupScheduleArgs
- type LookupScheduleResult
- type LookupServiceArgs
- type LookupServiceResult
- type LookupTeamArgs
- type LookupTeamResult
- type LookupUserArgs
- type LookupUserResult
- type MaintenanceWindow
- type MaintenanceWindowArgs
- type MaintenanceWindowInput
- type MaintenanceWindowOutput
- type MaintenanceWindowState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- type Ruleset
- type RulesetArgs
- type RulesetInput
- type RulesetOutput
- type RulesetRule
- 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) 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) 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) 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 RulesetRuleArgs
- 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 RulesetRuleOutput
- 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 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
- type ScheduleArgs
- 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 ScheduleOutput
- type ScheduleState
- type Service
- type ServiceArgs
- type ServiceDependency
- type ServiceDependencyArgs
- 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 ServiceDependencyOutput
- type ServiceDependencyState
- 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
- type ServiceIntegrationArgs
- type ServiceIntegrationInput
- type ServiceIntegrationOutput
- type ServiceIntegrationState
- type ServiceOutput
- 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 Team
- type TeamArgs
- type TeamInput
- type TeamMembership
- type TeamMembershipArgs
- type TeamMembershipInput
- type TeamMembershipOutput
- type TeamMembershipState
- type TeamOutput
- type TeamState
- type User
- type UserArgs
- type UserContactMethod
- type UserContactMethodArgs
- type UserContactMethodInput
- type UserContactMethodOutput
- type UserContactMethodState
- type UserInput
- type UserNotificationRule
- type UserNotificationRuleArgs
- 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 UserNotificationRuleOutput
- type UserNotificationRuleState
- type UserOutput
- type UserState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v1.2.1
func (Addon) ToAddonOutput ¶ added in v1.2.1
func (i Addon) ToAddonOutput() AddonOutput
func (Addon) ToAddonOutputWithContext ¶ added in v1.2.1
func (i Addon) ToAddonOutputWithContext(ctx context.Context) AddonOutput
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 AddonInput ¶ added in v1.2.1
type AddonInput interface { pulumi.Input ToAddonOutput() AddonOutput ToAddonOutputWithContext(ctx context.Context) AddonOutput }
type AddonOutput ¶ added in v1.2.1
type AddonOutput struct {
*pulumi.OutputState
}
func (AddonOutput) ElementType ¶ added in v1.2.1
func (AddonOutput) ElementType() reflect.Type
func (AddonOutput) ToAddonOutput ¶ added in v1.2.1
func (o AddonOutput) ToAddonOutput() AddonOutput
func (AddonOutput) ToAddonOutputWithContext ¶ added in v1.2.1
func (o AddonOutput) ToAddonOutputWithContext(ctx context.Context) AddonOutput
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.StringPtrOutput `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"` // Default value is `businessService`. Can also be set as `businessServiceReference`. Type pulumi.StringPtrOutput `pulumi:"type"` }
A [business service](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Business_Services/get_business_services) 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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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"), }) 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 ¶ added in v1.2.1
func (BusinessService) ElementType() reflect.Type
func (BusinessService) ToBusinessServiceOutput ¶ added in v1.2.1
func (i BusinessService) ToBusinessServiceOutput() BusinessServiceOutput
func (BusinessService) ToBusinessServiceOutputWithContext ¶ added in v1.2.1
func (i BusinessService) ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput
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 // 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 BusinessServiceInput ¶ added in v1.2.1
type BusinessServiceInput interface { pulumi.Input ToBusinessServiceOutput() BusinessServiceOutput ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput }
type BusinessServiceOutput ¶ added in v1.2.1
type BusinessServiceOutput struct {
*pulumi.OutputState
}
func (BusinessServiceOutput) ElementType ¶ added in v1.2.1
func (BusinessServiceOutput) ElementType() reflect.Type
func (BusinessServiceOutput) ToBusinessServiceOutput ¶ added in v1.2.1
func (o BusinessServiceOutput) ToBusinessServiceOutput() BusinessServiceOutput
func (BusinessServiceOutput) ToBusinessServiceOutputWithContext ¶ added in v1.2.1
func (o BusinessServiceOutput) ToBusinessServiceOutputWithContext(ctx context.Context) BusinessServiceOutput
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 // 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.StringPtrOutput `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://v2.developer.pagerduty.com/v2/page/api-reference#!/Escalation_Policies/get_escalation_policies) 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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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), Rules: pagerduty.EscalationPolicyRuleArray{ &pagerduty.EscalationPolicyRuleArgs{ EscalationDelayInMinutes: pulumi.Int(10), Targets: pagerduty.EscalationPolicyRuleTargetArray{ &pagerduty.EscalationPolicyRuleTargetArgs{ Id: exampleUser.ID(), Type: pulumi.String("user"), }, }, }, }, Teams: pulumi.StringArray{ exampleTeam.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 ¶ added in v1.2.1
func (EscalationPolicy) ElementType() reflect.Type
func (EscalationPolicy) ToEscalationPolicyOutput ¶ added in v1.2.1
func (i EscalationPolicy) ToEscalationPolicyOutput() EscalationPolicyOutput
func (EscalationPolicy) ToEscalationPolicyOutputWithContext ¶ added in v1.2.1
func (i EscalationPolicy) ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput
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 EscalationPolicyInput ¶ added in v1.2.1
type EscalationPolicyInput interface { pulumi.Input ToEscalationPolicyOutput() EscalationPolicyOutput ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput }
type EscalationPolicyOutput ¶ added in v1.2.1
type EscalationPolicyOutput struct {
*pulumi.OutputState
}
func (EscalationPolicyOutput) ElementType ¶ added in v1.2.1
func (EscalationPolicyOutput) ElementType() reflect.Type
func (EscalationPolicyOutput) ToEscalationPolicyOutput ¶ added in v1.2.1
func (o EscalationPolicyOutput) ToEscalationPolicyOutput() EscalationPolicyOutput
func (EscalationPolicyOutput) ToEscalationPolicyOutputWithContext ¶ added in v1.2.1
func (o EscalationPolicyOutput) ToEscalationPolicyOutputWithContext(ctx context.Context) EscalationPolicyOutput
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` 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`
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://v2.developer.pagerduty.com/docs/global-event-rules-api#section-advanced-condition) 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 the the Ruleset and RulesetRule resources. Please use the `ruleset` based resources for working with Event Rules.*
An [event rule](https://v2.developer.pagerduty.com/docs/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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v1.2.1
func (EventRule) ToEventRuleOutput ¶ added in v1.2.1
func (i EventRule) ToEventRuleOutput() EventRuleOutput
func (EventRule) ToEventRuleOutputWithContext ¶ added in v1.2.1
func (i EventRule) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
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://v2.developer.pagerduty.com/docs/global-event-rules-api#section-advanced-condition) 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 EventRuleInput ¶ added in v1.2.1
type EventRuleInput interface { pulumi.Input ToEventRuleOutput() EventRuleOutput ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput }
type EventRuleOutput ¶ added in v1.2.1
type EventRuleOutput struct {
*pulumi.OutputState
}
func (EventRuleOutput) ElementType ¶ added in v1.2.1
func (EventRuleOutput) ElementType() reflect.Type
func (EventRuleOutput) ToEventRuleOutput ¶ added in v1.2.1
func (o EventRuleOutput) ToEventRuleOutput() EventRuleOutput
func (EventRuleOutput) ToEventRuleOutputWithContext ¶ added in v1.2.1
func (o EventRuleOutput) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
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://v2.developer.pagerduty.com/docs/global-event-rules-api#section-advanced-condition) 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://v2.developer.pagerduty.com/v2/page/api-reference#!/Extensions/post_extensions) can be associated with a service.
## 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 ¶ added in v1.2.1
func (Extension) ToExtensionOutput ¶ added in v1.2.1
func (i Extension) ToExtensionOutput() ExtensionOutput
func (Extension) ToExtensionOutputWithContext ¶ added in v1.2.1
func (i Extension) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput
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 ExtensionInput ¶ added in v1.2.1
type ExtensionInput interface { pulumi.Input ToExtensionOutput() ExtensionOutput ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput }
type ExtensionOutput ¶ added in v1.2.1
type ExtensionOutput struct {
*pulumi.OutputState
}
func (ExtensionOutput) ElementType ¶ added in v1.2.1
func (ExtensionOutput) ElementType() reflect.Type
func (ExtensionOutput) ToExtensionOutput ¶ added in v1.2.1
func (o ExtensionOutput) ToExtensionOutput() ExtensionOutput
func (ExtensionOutput) ToExtensionOutputWithContext ¶ added in v1.2.1
func (o ExtensionOutput) ToExtensionOutputWithContext(ctx context.Context) ExtensionOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, 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.Any(pagerduty_priority.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://v2.developer.pagerduty.com/v2/page/api-reference#!/Vendors/get_vendors) 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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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://v2.developer.pagerduty.com/v2/page/api-reference#!/Escalation_Policies/get_escalation_policies) that you can use for other PagerDuty resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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{ AcknowledgementTimeout: pulumi.String("600"), AutoResolveTimeout: pulumi.String("14400"), EscalationPolicy: pulumi.String(testEscalationPolicy.Id), }) 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://v2.developer.pagerduty.com/v2/page/api-reference#!/Schedules/get_schedules) that you can use for other PagerDuty resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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{ Id: pulumi.String(test.Id), Type: pulumi.String("schedule"), }, }, }, }, }) 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 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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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"` }
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"` }
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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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), Rules: pagerduty.EscalationPolicyRuleArray{ &pagerduty.EscalationPolicyRuleArgs{ EscalationDelayInMinutes: pulumi.Int(10), Targets: pagerduty.EscalationPolicyRuleTargetArray{ &pagerduty.EscalationPolicyRuleTargetArgs{ Id: pulumi.String(me.Id), Type: pulumi.String("user"), }, }, }, }, Teams: pulumi.StringArray{ pulumi.String(devops.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 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://v2.developer.pagerduty.com/v2/page/api-reference#!/Users/get_users) that you can use for other PagerDuty resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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{ Id: pulumi.String(me.Id), Type: pulumi.String("user"), }, }, }, }, }) if err != nil { return err } return nil }) }
```
type MaintenanceWindow ¶
type MaintenanceWindow struct { pulumi.CustomResourceState // A description for the maintenance window. Description pulumi.StringPtrOutput `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://v2.developer.pagerduty.com/v2/page/api-reference#!/Maintenance_Windows/get_maintenance_windows) 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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.NewMaintenanceWindow(ctx, "example", &pagerduty.MaintenanceWindowArgs{ EndTime: pulumi.String("2015-11-09T22:00:00-05:00"), Services: pulumi.StringArray{ pulumi.Any(pagerduty_service.Example.Id), }, StartTime: pulumi.String("2015-11-09T20:00:00-05:00"), }) 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 ¶ added in v1.2.1
func (MaintenanceWindow) ElementType() reflect.Type
func (MaintenanceWindow) ToMaintenanceWindowOutput ¶ added in v1.2.1
func (i MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput
func (MaintenanceWindow) ToMaintenanceWindowOutputWithContext ¶ added in v1.2.1
func (i MaintenanceWindow) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
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 MaintenanceWindowInput ¶ added in v1.2.1
type MaintenanceWindowInput interface { pulumi.Input ToMaintenanceWindowOutput() MaintenanceWindowOutput ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput }
type MaintenanceWindowOutput ¶ added in v1.2.1
type MaintenanceWindowOutput struct {
*pulumi.OutputState
}
func (MaintenanceWindowOutput) ElementType ¶ added in v1.2.1
func (MaintenanceWindowOutput) ElementType() reflect.Type
func (MaintenanceWindowOutput) ToMaintenanceWindowOutput ¶ added in v1.2.1
func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput
func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext ¶ added in v1.2.1
func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
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 ¶ added in v1.2.1
func (Provider) ToProviderOutput ¶ added in v1.2.1
func (i Provider) ToProviderOutput() ProviderOutput
func (Provider) ToProviderOutputWithContext ¶ added in v1.2.1
func (i Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { SkipCredentialsValidation pulumi.BoolPtrInput Token pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶ added in v1.2.1
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶ added in v1.2.1
type ProviderOutput struct {
*pulumi.OutputState
}
func (ProviderOutput) ElementType ¶ added in v1.2.1
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶ added in v1.2.1
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶ added in v1.2.1
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v1.2.1
func (Ruleset) ToRulesetOutput ¶ added in v1.2.1
func (i Ruleset) ToRulesetOutput() RulesetOutput
func (Ruleset) ToRulesetOutputWithContext ¶ added in v1.2.1
func (i Ruleset) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
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 RulesetInput ¶ added in v1.2.1
type RulesetInput interface { pulumi.Input ToRulesetOutput() RulesetOutput ToRulesetOutputWithContext(ctx context.Context) RulesetOutput }
type RulesetOutput ¶ added in v1.2.1
type RulesetOutput struct {
*pulumi.OutputState
}
func (RulesetOutput) ElementType ¶ added in v1.2.1
func (RulesetOutput) ElementType() reflect.Type
func (RulesetOutput) ToRulesetOutput ¶ added in v1.2.1
func (o RulesetOutput) ToRulesetOutput() RulesetOutput
func (RulesetOutput) ToRulesetOutputWithContext ¶ added in v1.2.1
func (o RulesetOutput) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
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"` }
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 ¶ added in v1.2.1
func (RulesetRule) ElementType() reflect.Type
func (RulesetRule) ToRulesetRuleOutput ¶ added in v1.2.1
func (i RulesetRule) ToRulesetRuleOutput() RulesetRuleOutput
func (RulesetRule) ToRulesetRuleOutputWithContext ¶ added in v1.2.1
func (i RulesetRule) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput
type RulesetRuleActions ¶
type RulesetRuleActions struct { // Note added to the event. Annotates []RulesetRuleActionsAnnotate `pulumi:"annotates"` EventActions []RulesetRuleActionsEventAction `pulumi:"eventActions"` // Allows you to copy important data from one event field to another. Extraction rules must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax). Extraction objects consist of the following fields: 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). Suppresses []RulesetRuleActionsSuppress `pulumi:"suppresses"` }
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"` EventActions RulesetRuleActionsEventActionArrayInput `pulumi:"eventActions"` // Allows you to copy important data from one event field to another. Extraction rules must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax). Extraction objects consist of the following fields: 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). Suppresses RulesetRuleActionsSuppressArrayInput `pulumi:"suppresses"` }
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. // * *NOTE: A rule can have multiple `extraction` objects attributed to it.* Regex *string `pulumi:"regex"` // Field where the data is being copied from. Source *string `pulumi:"source"` // Field where the data is being copied to. Target *string `pulumi:"target"` }
type RulesetRuleActionsExtractionArgs ¶
type RulesetRuleActionsExtractionArgs struct { // The conditions that need to be met for the extraction to happen. // * *NOTE: A rule can have multiple `extraction` objects attributed to it.* Regex pulumi.StringPtrInput `pulumi:"regex"` // Field where the data is being copied from. Source pulumi.StringPtrInput `pulumi:"source"` // Field where the data is being copied to. Target pulumi.StringPtrInput `pulumi:"target"` }
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. * *NOTE: A rule can have multiple `extraction` objects attributed to it.*
func (RulesetRuleActionsExtractionOutput) Source ¶
func (o RulesetRuleActionsExtractionOutput) Source() pulumi.StringPtrOutput
Field where the data is being copied from.
func (RulesetRuleActionsExtractionOutput) Target ¶
func (o RulesetRuleActionsExtractionOutput) Target() pulumi.StringPtrOutput
Field where the data is being copied to.
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
func (RulesetRuleActionsOutput) Extractions ¶
func (o RulesetRuleActionsOutput) Extractions() RulesetRuleActionsExtractionArrayOutput
Allows you to copy important data from one event field to another. Extraction rules must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax). Extraction objects consist of the following fields:
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).
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
func (RulesetRuleActionsPtrOutput) Extractions ¶
func (o RulesetRuleActionsPtrOutput) Extractions() RulesetRuleActionsExtractionArrayOutput
Allows you to copy important data from one event field to another. Extraction rules must use valid [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax). Extraction objects consist of the following fields:
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).
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. ThresholdTimeAmount *int `pulumi:"thresholdTimeAmount"` // The `minutes`,`hours`, or `days` that the `thresholdTimeAmount` should be measured. ThresholdTimeUnit *string `pulumi:"thresholdTimeUnit"` // The number of alerts that should be suppressed. 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. ThresholdTimeAmount pulumi.IntPtrInput `pulumi:"thresholdTimeAmount"` // The `minutes`,`hours`, or `days` that the `thresholdTimeAmount` should be measured. ThresholdTimeUnit pulumi.StringPtrInput `pulumi:"thresholdTimeUnit"` // The number of alerts that should be suppressed. 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.
func (RulesetRuleActionsSuppressOutput) ThresholdTimeUnit ¶
func (o RulesetRuleActionsSuppressOutput) ThresholdTimeUnit() pulumi.StringPtrOutput
The `minutes`,`hours`, or `days` that the `thresholdTimeAmount` should be measured.
func (RulesetRuleActionsSuppressOutput) ThresholdValue ¶
func (o RulesetRuleActionsSuppressOutput) ThresholdValue() pulumi.IntPtrOutput
The number of alerts that should be suppressed.
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 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 }
The set of arguments for constructing a RulesetRule resource.
func (RulesetRuleArgs) ElementType ¶
func (RulesetRuleArgs) ElementType() reflect.Type
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 ¶ added in v1.2.1
type RulesetRuleInput interface { pulumi.Input ToRulesetRuleOutput() RulesetRuleOutput ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput }
type RulesetRuleOutput ¶ added in v1.2.1
type RulesetRuleOutput struct {
*pulumi.OutputState
}
func (RulesetRuleOutput) ElementType ¶ added in v1.2.1
func (RulesetRuleOutput) ElementType() reflect.Type
func (RulesetRuleOutput) ToRulesetRuleOutput ¶ added in v1.2.1
func (o RulesetRuleOutput) ToRulesetRuleOutput() RulesetRuleOutput
func (RulesetRuleOutput) ToRulesetRuleOutputWithContext ¶ added in v1.2.1
func (o RulesetRuleOutput) ToRulesetRuleOutputWithContext(ctx context.Context) RulesetRuleOutput
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 }
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 RulesetRuleTimeFrameActiveBetween ¶
type RulesetRuleTimeFrameActiveBetween 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 RulesetRuleTimeFrameActiveBetweenArgs ¶
type RulesetRuleTimeFrameActiveBetweenArgs 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 (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
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 (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. 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 RulesetRuleTimeFrameScheduledWeeklyArgs ¶
type RulesetRuleTimeFrameScheduledWeeklyArgs 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 (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. Unix timestamp in milliseconds.
func (RulesetRuleTimeFrameScheduledWeeklyOutput) ElementType ¶
func (RulesetRuleTimeFrameScheduledWeeklyOutput) ElementType() reflect.Type
func (RulesetRuleTimeFrameScheduledWeeklyOutput) StartTime ¶
func (o RulesetRuleTimeFrameScheduledWeeklyOutput) 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 (RulesetRuleTimeFrameScheduledWeeklyOutput) Timezone ¶
func (o RulesetRuleTimeFrameScheduledWeeklyOutput) Timezone() pulumi.StringPtrOutput
Timezone for the given schedule.
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 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.StringPtrOutput `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"` // The time zone of the schedule (e.g Europe/Berlin). TimeZone pulumi.StringOutput `pulumi:"timeZone"` }
A [schedule](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Schedules/get_schedules) determines the time periods that users are on call. Only on-call users are eligible to receive notifications from incidents.
## 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 ¶ added in v1.2.1
func (Schedule) ToScheduleOutput ¶ added in v1.2.1
func (i Schedule) ToScheduleOutput() ScheduleOutput
func (Schedule) ToScheduleOutputWithContext ¶ added in v1.2.1
func (i Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
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 // 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 ScheduleInput ¶ added in v1.2.1
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. This value will not be read back from the PagerDuty API because the API will always return a new `start` time, which represents the last updated 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. This value will not be read back from the PagerDuty API because the API will always return a new `start` time, which represents the last updated 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. This value will not be read back from the PagerDuty API because the API will always return a new `start` time, which represents the last updated 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 ScheduleOutput ¶ added in v1.2.1
type ScheduleOutput struct {
*pulumi.OutputState
}
func (ScheduleOutput) ElementType ¶ added in v1.2.1
func (ScheduleOutput) ElementType() reflect.Type
func (ScheduleOutput) ToScheduleOutput ¶ added in v1.2.1
func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput
func (ScheduleOutput) ToScheduleOutputWithContext ¶ added in v1.2.1
func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
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 // 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. AlertCreation pulumi.StringPtrOutput `pulumi:"alertCreation"` // 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.StringPtrOutput `pulumi:"alertGrouping"` // 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.StringPtrOutput `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://v2.developer.pagerduty.com/v2/page/api-reference#!/Services/get_services) 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 ¶ added in v1.2.1
func (Service) ToServiceOutput ¶ added in v1.2.1
func (i Service) ToServiceOutput() ServiceOutput
func (Service) ToServiceOutputWithContext ¶ added in v1.2.1
func (i Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
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. AlertCreation 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; 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 // 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 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 a business service and technical and business 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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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 business service id and the dependency id separated by a dot, e.g.
```sh
$ pulumi import pagerduty:index/serviceDependency:ServiceDependency main P4B2Z7G.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 ¶ added in v1.2.1
func (ServiceDependency) ElementType() reflect.Type
func (ServiceDependency) ToServiceDependencyOutput ¶ added in v1.2.1
func (i ServiceDependency) ToServiceDependencyOutput() ServiceDependencyOutput
func (ServiceDependency) ToServiceDependencyOutputWithContext ¶ added in v1.2.1
func (i ServiceDependency) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput
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 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 ¶ added in v1.2.1
type ServiceDependencyInput interface { pulumi.Input ToServiceDependencyOutput() ServiceDependencyOutput ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput }
type ServiceDependencyOutput ¶ added in v1.2.1
type ServiceDependencyOutput struct {
*pulumi.OutputState
}
func (ServiceDependencyOutput) ElementType ¶ added in v1.2.1
func (ServiceDependencyOutput) ElementType() reflect.Type
func (ServiceDependencyOutput) ToServiceDependencyOutput ¶ added in v1.2.1
func (o ServiceDependencyOutput) ToServiceDependencyOutput() ServiceDependencyOutput
func (ServiceDependencyOutput) ToServiceDependencyOutputWithContext ¶ added in v1.2.1
func (o ServiceDependencyOutput) ToServiceDependencyOutputWithContext(ctx context.Context) ServiceDependencyOutput
type ServiceDependencyState ¶
type ServiceDependencyState struct { // The relationship between the `supportingService` and `dependentService`. Dependencies ServiceDependencyDependencyArrayInput }
func (ServiceDependencyState) ElementType ¶
func (ServiceDependencyState) ElementType() reflect.Type
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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`.
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 scheduled action. Currently, this must be set to `urgencyChange`.
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 scheduled action. Currently, this must be set to `urgencyChange`.
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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`.
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 scheduled action. Currently, this must be set to `urgencyChange`.
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 scheduled action. Currently, this must be set to `urgencyChange`.
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 ¶ added in v1.2.1
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://v2.developer.pagerduty.com/v2/page/api-reference#!/Services/post_services_id_integrations) 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 ¶ added in v1.2.1
func (ServiceIntegration) ElementType() reflect.Type
func (ServiceIntegration) ToServiceIntegrationOutput ¶ added in v1.2.1
func (i ServiceIntegration) ToServiceIntegrationOutput() ServiceIntegrationOutput
func (ServiceIntegration) ToServiceIntegrationOutputWithContext ¶ added in v1.2.1
func (i ServiceIntegration) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput
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 ServiceIntegrationInput ¶ added in v1.2.1
type ServiceIntegrationInput interface { pulumi.Input ToServiceIntegrationOutput() ServiceIntegrationOutput ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput }
type ServiceIntegrationOutput ¶ added in v1.2.1
type ServiceIntegrationOutput struct {
*pulumi.OutputState
}
func (ServiceIntegrationOutput) ElementType ¶ added in v1.2.1
func (ServiceIntegrationOutput) ElementType() reflect.Type
func (ServiceIntegrationOutput) ToServiceIntegrationOutput ¶ added in v1.2.1
func (o ServiceIntegrationOutput) ToServiceIntegrationOutput() ServiceIntegrationOutput
func (ServiceIntegrationOutput) ToServiceIntegrationOutputWithContext ¶ added in v1.2.1
func (o ServiceIntegrationOutput) ToServiceIntegrationOutputWithContext(ctx context.Context) ServiceIntegrationOutput
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 ServiceOutput ¶ added in v1.2.1
type ServiceOutput struct {
*pulumi.OutputState
}
func (ServiceOutput) ElementType ¶ added in v1.2.1
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ToServiceOutput ¶ added in v1.2.1
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶ added in v1.2.1
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`.
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. AlertCreation 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; 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 // 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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`. 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 scheduled action. Currently, this must be set to `urgencyChange`.
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 scheduled action. Currently, this must be set to `urgencyChange`.
type Team ¶
type Team struct { pulumi.CustomResourceState Description pulumi.StringPtrOutput `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"` }
A [team](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Teams/get_teams) 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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pagerduty.NewTeam(ctx, "example", &pagerduty.TeamArgs{ Description: pulumi.String("All engineering"), }) 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 ¶ added in v1.2.1
func (Team) ToTeamOutput ¶ added in v1.2.1
func (i Team) ToTeamOutput() TeamOutput
func (Team) ToTeamOutputWithContext ¶ added in v1.2.1
func (i Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput
type TeamArgs ¶
type TeamArgs struct { Description pulumi.StringPtrInput // The name of the group. Name pulumi.StringPtrInput }
The set of arguments for constructing a Team resource.
func (TeamArgs) ElementType ¶
type TeamInput ¶ added in v1.2.1
type TeamInput interface { pulumi.Input ToTeamOutput() TeamOutput ToTeamOutputWithContext(ctx context.Context) TeamOutput }
type TeamMembership ¶
type TeamMembership struct { pulumi.CustomResourceState // The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`. 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://v2.developer.pagerduty.com/v2/page/api-reference#!/Teams/put_teams_id_users_user_id) manages memberships within a team.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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{ Role: pulumi.String("manager"), TeamId: fooTeam.ID(), UserId: fooUser.ID(), }) 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 ¶ added in v1.2.1
func (TeamMembership) ElementType() reflect.Type
func (TeamMembership) ToTeamMembershipOutput ¶ added in v1.2.1
func (i TeamMembership) ToTeamMembershipOutput() TeamMembershipOutput
func (TeamMembership) ToTeamMembershipOutputWithContext ¶ added in v1.2.1
func (i TeamMembership) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
type TeamMembershipArgs ¶
type TeamMembershipArgs struct { // The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`. 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 TeamMembershipInput ¶ added in v1.2.1
type TeamMembershipInput interface { pulumi.Input ToTeamMembershipOutput() TeamMembershipOutput ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput }
type TeamMembershipOutput ¶ added in v1.2.1
type TeamMembershipOutput struct {
*pulumi.OutputState
}
func (TeamMembershipOutput) ElementType ¶ added in v1.2.1
func (TeamMembershipOutput) ElementType() reflect.Type
func (TeamMembershipOutput) ToTeamMembershipOutput ¶ added in v1.2.1
func (o TeamMembershipOutput) ToTeamMembershipOutput() TeamMembershipOutput
func (TeamMembershipOutput) ToTeamMembershipOutputWithContext ¶ added in v1.2.1
func (o TeamMembershipOutput) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
type TeamMembershipState ¶
type TeamMembershipState struct { // The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`. 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 ¶ added in v1.2.1
type TeamOutput struct {
*pulumi.OutputState
}
func (TeamOutput) ElementType ¶ added in v1.2.1
func (TeamOutput) ElementType() reflect.Type
func (TeamOutput) ToTeamOutput ¶ added in v1.2.1
func (o TeamOutput) ToTeamOutput() TeamOutput
func (TeamOutput) ToTeamOutputWithContext ¶ added in v1.2.1
func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput
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 }
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.StringPtrOutput `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. Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser`. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser` or `user` 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 timezone of the user TimeZone pulumi.StringOutput `pulumi:"timeZone"` }
A [user](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Users/get_users) 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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v1.2.1
func (User) ToUserOutput ¶ added in v1.2.1
func (i User) ToUserOutput() UserOutput
func (User) ToUserOutputWithContext ¶ added in v1.2.1
func (i User) ToUserOutputWithContext(ctx context.Context) UserOutput
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. Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser`. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser` or `user` 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 timezone of the user TimeZone pulumi.StringPtrInput }
The set of arguments for constructing a User resource.
func (UserArgs) ElementType ¶
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://v2.developer.pagerduty.com/v2/page/api-reference#!/Users/get_users_id_contact_methods) 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 ¶ added in v1.2.1
func (UserContactMethod) ElementType() reflect.Type
func (UserContactMethod) ToUserContactMethodOutput ¶ added in v1.2.1
func (i UserContactMethod) ToUserContactMethodOutput() UserContactMethodOutput
func (UserContactMethod) ToUserContactMethodOutputWithContext ¶ added in v1.2.1
func (i UserContactMethod) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput
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 UserContactMethodInput ¶ added in v1.2.1
type UserContactMethodInput interface { pulumi.Input ToUserContactMethodOutput() UserContactMethodOutput ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput }
type UserContactMethodOutput ¶ added in v1.2.1
type UserContactMethodOutput struct {
*pulumi.OutputState
}
func (UserContactMethodOutput) ElementType ¶ added in v1.2.1
func (UserContactMethodOutput) ElementType() reflect.Type
func (UserContactMethodOutput) ToUserContactMethodOutput ¶ added in v1.2.1
func (o UserContactMethodOutput) ToUserContactMethodOutput() UserContactMethodOutput
func (UserContactMethodOutput) ToUserContactMethodOutputWithContext ¶ added in v1.2.1
func (o UserContactMethodOutput) ToUserContactMethodOutputWithContext(ctx context.Context) UserContactMethodOutput
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 ¶ added in v1.2.1
type UserInput interface { pulumi.Input ToUserOutput() UserOutput ToUserOutputWithContext(ctx context.Context) UserOutput }
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://v2.developer.pagerduty.com/v2/page/api-reference#!/Users/get_users_id_notification_rules_notification_rule_id) configures where and when a PagerDuty user is notified when a triggered incident is assigned to him. 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/go/pagerduty" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v1.2.1
func (UserNotificationRule) ElementType() reflect.Type
func (UserNotificationRule) ToUserNotificationRuleOutput ¶ added in v1.2.1
func (i UserNotificationRule) ToUserNotificationRuleOutput() UserNotificationRuleOutput
func (UserNotificationRule) ToUserNotificationRuleOutputWithContext ¶ added in v1.2.1
func (i UserNotificationRule) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput
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 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 ¶ added in v1.2.1
type UserNotificationRuleInput interface { pulumi.Input ToUserNotificationRuleOutput() UserNotificationRuleOutput ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput }
type UserNotificationRuleOutput ¶ added in v1.2.1
type UserNotificationRuleOutput struct {
*pulumi.OutputState
}
func (UserNotificationRuleOutput) ElementType ¶ added in v1.2.1
func (UserNotificationRuleOutput) ElementType() reflect.Type
func (UserNotificationRuleOutput) ToUserNotificationRuleOutput ¶ added in v1.2.1
func (o UserNotificationRuleOutput) ToUserNotificationRuleOutput() UserNotificationRuleOutput
func (UserNotificationRuleOutput) ToUserNotificationRuleOutputWithContext ¶ added in v1.2.1
func (o UserNotificationRuleOutput) ToUserNotificationRuleOutputWithContext(ctx context.Context) UserNotificationRuleOutput
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 ¶ added in v1.2.1
type UserOutput struct {
*pulumi.OutputState
}
func (UserOutput) ElementType ¶ added in v1.2.1
func (UserOutput) ElementType() reflect.Type
func (UserOutput) ToUserOutput ¶ added in v1.2.1
func (o UserOutput) ToUserOutput() UserOutput
func (UserOutput) ToUserOutputWithContext ¶ added in v1.2.1
func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
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. Account must have the `readOnlyUsers` ability to set a user as a `readOnlyUser`. Can be `admin`, `limitedUser`, `observer`, `owner`, `readOnlyUser` or `user` 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 timezone of the user TimeZone pulumi.StringPtrInput }
func (UserState) ElementType ¶
Source Files ¶
- addon.go
- businessService.go
- doc.go
- escalationPolicy.go
- eventRule.go
- extension.go
- getBusinessService.go
- getEscalationPolicy.go
- getExtensionSchema.go
- getPriority.go
- getSchedule.go
- getService.go
- getTeam.go
- getUser.go
- getVendor.go
- maintenanceWindow.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- ruleset.go
- rulesetRule.go
- schedule.go
- service.go
- serviceDependency.go
- serviceIntegration.go
- team.go
- teamMembership.go
- user.go
- userContactMethod.go
- userNotificationRule.go