Viewing docs for PagerDuty v4.30.4
published on Friday, Mar 13, 2026 by Pulumi
published on Friday, Mar 13, 2026 by Pulumi
Viewing docs for PagerDuty v4.30.4
published on Friday, Mar 13, 2026 by Pulumi
published on Friday, Mar 13, 2026 by Pulumi
Use this data source to get information about a specific Cache Variable for a Global Event Orchestration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";
const eventOrchestration = new pagerduty.EventOrchestration("event_orchestration", {name: "Test Event Orchestration"});
const cacheVariable = pagerduty.getEventOrchestrationGlobalCacheVariableOutput({
eventOrchestration: eventOrchestration.id,
name: "example_cache_variable",
});
import pulumi
import pulumi_pagerduty as pagerduty
event_orchestration = pagerduty.EventOrchestration("event_orchestration", name="Test Event Orchestration")
cache_variable = pagerduty.get_event_orchestration_global_cache_variable_output(event_orchestration=event_orchestration.id,
name="example_cache_variable")
package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
eventOrchestration, err := pagerduty.NewEventOrchestration(ctx, "event_orchestration", &pagerduty.EventOrchestrationArgs{
Name: pulumi.String("Test Event Orchestration"),
})
if err != nil {
return err
}
_ = pagerduty.LookupEventOrchestrationGlobalCacheVariableOutput(ctx, pagerduty.GetEventOrchestrationGlobalCacheVariableOutputArgs{
EventOrchestration: eventOrchestration.ID(),
Name: pulumi.String("example_cache_variable"),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;
return await Deployment.RunAsync(() =>
{
var eventOrchestration = new Pagerduty.EventOrchestration("event_orchestration", new()
{
Name = "Test Event Orchestration",
});
var cacheVariable = Pagerduty.GetEventOrchestrationGlobalCacheVariable.Invoke(new()
{
EventOrchestration = eventOrchestration.Id,
Name = "example_cache_variable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.pagerduty.EventOrchestration;
import com.pulumi.pagerduty.EventOrchestrationArgs;
import com.pulumi.pagerduty.PagerdutyFunctions;
import com.pulumi.pagerduty.inputs.GetEventOrchestrationGlobalCacheVariableArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var eventOrchestration = new EventOrchestration("eventOrchestration", EventOrchestrationArgs.builder()
.name("Test Event Orchestration")
.build());
final var cacheVariable = PagerdutyFunctions.getEventOrchestrationGlobalCacheVariable(GetEventOrchestrationGlobalCacheVariableArgs.builder()
.eventOrchestration(eventOrchestration.id())
.name("example_cache_variable")
.build());
}
}
resources:
eventOrchestration:
type: pagerduty:EventOrchestration
name: event_orchestration
properties:
name: Test Event Orchestration
variables:
cacheVariable:
fn::invoke:
function: pagerduty:getEventOrchestrationGlobalCacheVariable
arguments:
eventOrchestration: ${eventOrchestration.id}
name: example_cache_variable
Using getEventOrchestrationGlobalCacheVariable
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEventOrchestrationGlobalCacheVariable(args: GetEventOrchestrationGlobalCacheVariableArgs, opts?: InvokeOptions): Promise<GetEventOrchestrationGlobalCacheVariableResult>
function getEventOrchestrationGlobalCacheVariableOutput(args: GetEventOrchestrationGlobalCacheVariableOutputArgs, opts?: InvokeOptions): Output<GetEventOrchestrationGlobalCacheVariableResult>def get_event_orchestration_global_cache_variable(event_orchestration: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventOrchestrationGlobalCacheVariableResult
def get_event_orchestration_global_cache_variable_output(event_orchestration: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEventOrchestrationGlobalCacheVariableResult]func LookupEventOrchestrationGlobalCacheVariable(ctx *Context, args *LookupEventOrchestrationGlobalCacheVariableArgs, opts ...InvokeOption) (*LookupEventOrchestrationGlobalCacheVariableResult, error)
func LookupEventOrchestrationGlobalCacheVariableOutput(ctx *Context, args *LookupEventOrchestrationGlobalCacheVariableOutputArgs, opts ...InvokeOption) LookupEventOrchestrationGlobalCacheVariableResultOutput> Note: This function is named LookupEventOrchestrationGlobalCacheVariable in the Go SDK.
public static class GetEventOrchestrationGlobalCacheVariable
{
public static Task<GetEventOrchestrationGlobalCacheVariableResult> InvokeAsync(GetEventOrchestrationGlobalCacheVariableArgs args, InvokeOptions? opts = null)
public static Output<GetEventOrchestrationGlobalCacheVariableResult> Invoke(GetEventOrchestrationGlobalCacheVariableInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEventOrchestrationGlobalCacheVariableResult> getEventOrchestrationGlobalCacheVariable(GetEventOrchestrationGlobalCacheVariableArgs args, InvokeOptions options)
public static Output<GetEventOrchestrationGlobalCacheVariableResult> getEventOrchestrationGlobalCacheVariable(GetEventOrchestrationGlobalCacheVariableArgs args, InvokeOptions options)
fn::invoke:
function: pagerduty:index/getEventOrchestrationGlobalCacheVariable:getEventOrchestrationGlobalCacheVariable
arguments:
# arguments dictionaryThe following arguments are supported:
- Event
Orchestration string - ID of the Global Event Orchestration to which this Cache Variable belongs.
- Id string
- ID of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence. - Name string
- Name of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence.
- Event
Orchestration string - ID of the Global Event Orchestration to which this Cache Variable belongs.
- Id string
- ID of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence. - Name string
- Name of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence.
- event
Orchestration String - ID of the Global Event Orchestration to which this Cache Variable belongs.
- id String
- ID of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence. - name String
- Name of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence.
- event
Orchestration string - ID of the Global Event Orchestration to which this Cache Variable belongs.
- id string
- ID of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence. - name string
- Name of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence.
- event_
orchestration str - ID of the Global Event Orchestration to which this Cache Variable belongs.
- id str
- ID of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence. - name str
- Name of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence.
- event
Orchestration String - ID of the Global Event Orchestration to which this Cache Variable belongs.
- id String
- ID of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence. - name String
- Name of the Cache Variable associated with the Global Event Orchestration. Specify either
idorname. If both are specifiedidtakes precedence.
getEventOrchestrationGlobalCacheVariable Result
The following output properties are available:
- Conditions
List<Get
Event Orchestration Global Cache Variable Condition> - Conditions to be evaluated in order to determine whether or not to update the Cache Variable's stored value. This attribute can only be used when
configuration.0.typeisrecent_valueortrigger_event_count. - Configurations
List<Get
Event Orchestration Global Cache Variable Configuration> - A configuration object to define what and how values will be stored in the Cache Variable.
- Disabled bool
- Indicates whether the Cache Variable is disabled and would therefore not be evaluated.
- Event
Orchestration string - Id string
- Name string
- Conditions
[]Get
Event Orchestration Global Cache Variable Condition - Conditions to be evaluated in order to determine whether or not to update the Cache Variable's stored value. This attribute can only be used when
configuration.0.typeisrecent_valueortrigger_event_count. - Configurations
[]Get
Event Orchestration Global Cache Variable Configuration - A configuration object to define what and how values will be stored in the Cache Variable.
- Disabled bool
- Indicates whether the Cache Variable is disabled and would therefore not be evaluated.
- Event
Orchestration string - Id string
- Name string
- conditions
List<Get
Event Orchestration Global Cache Variable Condition> - Conditions to be evaluated in order to determine whether or not to update the Cache Variable's stored value. This attribute can only be used when
configuration.0.typeisrecent_valueortrigger_event_count. - configurations
List<Get
Event Orchestration Global Cache Variable Configuration> - A configuration object to define what and how values will be stored in the Cache Variable.
- disabled Boolean
- Indicates whether the Cache Variable is disabled and would therefore not be evaluated.
- event
Orchestration String - id String
- name String
- conditions
Get
Event Orchestration Global Cache Variable Condition[] - Conditions to be evaluated in order to determine whether or not to update the Cache Variable's stored value. This attribute can only be used when
configuration.0.typeisrecent_valueortrigger_event_count. - configurations
Get
Event Orchestration Global Cache Variable Configuration[] - A configuration object to define what and how values will be stored in the Cache Variable.
- disabled boolean
- Indicates whether the Cache Variable is disabled and would therefore not be evaluated.
- event
Orchestration string - id string
- name string
- conditions
Sequence[Get
Event Orchestration Global Cache Variable Condition] - Conditions to be evaluated in order to determine whether or not to update the Cache Variable's stored value. This attribute can only be used when
configuration.0.typeisrecent_valueortrigger_event_count. - configurations
Sequence[Get
Event Orchestration Global Cache Variable Configuration] - A configuration object to define what and how values will be stored in the Cache Variable.
- disabled bool
- Indicates whether the Cache Variable is disabled and would therefore not be evaluated.
- event_
orchestration str - id str
- name str
- conditions List<Property Map>
- Conditions to be evaluated in order to determine whether or not to update the Cache Variable's stored value. This attribute can only be used when
configuration.0.typeisrecent_valueortrigger_event_count. - configurations List<Property Map>
- A configuration object to define what and how values will be stored in the Cache Variable.
- disabled Boolean
- Indicates whether the Cache Variable is disabled and would therefore not be evaluated.
- event
Orchestration String - id String
- name String
Supporting Types
GetEventOrchestrationGlobalCacheVariableCondition
- Expression string
- A PCL condition string.
- Expression string
- A PCL condition string.
- expression String
- A PCL condition string.
- expression string
- A PCL condition string.
- expression str
- A PCL condition string.
- expression String
- A PCL condition string.
GetEventOrchestrationGlobalCacheVariableConfiguration
- Regex string
- A [RE2 regular expression][4] that will be matched against the field specified via the
sourceargument. This field is only used whentypeisrecent_value - Source string
- The path to the event field where the
regexwill be applied to extract a value. You can use any valid PCL path. This field is only used whentypeisrecent_value - Ttl
Seconds int - The number of seconds indicating how long to count incoming trigger events for. This field is only used when
typeistrigger_event_countorexternal_data - Type string
- The type of value to store into the Cache Variable. Can be one of:
recent_value,trigger_event_countorexternal_data. - Data
Type string - The type of data that will eventually be set for the Cache Variable via an API request. This field is only used when type is
external_data
- Regex string
- A [RE2 regular expression][4] that will be matched against the field specified via the
sourceargument. This field is only used whentypeisrecent_value - Source string
- The path to the event field where the
regexwill be applied to extract a value. You can use any valid PCL path. This field is only used whentypeisrecent_value - Ttl
Seconds int - The number of seconds indicating how long to count incoming trigger events for. This field is only used when
typeistrigger_event_countorexternal_data - Type string
- The type of value to store into the Cache Variable. Can be one of:
recent_value,trigger_event_countorexternal_data. - Data
Type string - The type of data that will eventually be set for the Cache Variable via an API request. This field is only used when type is
external_data
- regex String
- A [RE2 regular expression][4] that will be matched against the field specified via the
sourceargument. This field is only used whentypeisrecent_value - source String
- The path to the event field where the
regexwill be applied to extract a value. You can use any valid PCL path. This field is only used whentypeisrecent_value - ttl
Seconds Integer - The number of seconds indicating how long to count incoming trigger events for. This field is only used when
typeistrigger_event_countorexternal_data - type String
- The type of value to store into the Cache Variable. Can be one of:
recent_value,trigger_event_countorexternal_data. - data
Type String - The type of data that will eventually be set for the Cache Variable via an API request. This field is only used when type is
external_data
- regex string
- A [RE2 regular expression][4] that will be matched against the field specified via the
sourceargument. This field is only used whentypeisrecent_value - source string
- The path to the event field where the
regexwill be applied to extract a value. You can use any valid PCL path. This field is only used whentypeisrecent_value - ttl
Seconds number - The number of seconds indicating how long to count incoming trigger events for. This field is only used when
typeistrigger_event_countorexternal_data - type string
- The type of value to store into the Cache Variable. Can be one of:
recent_value,trigger_event_countorexternal_data. - data
Type string - The type of data that will eventually be set for the Cache Variable via an API request. This field is only used when type is
external_data
- regex str
- A [RE2 regular expression][4] that will be matched against the field specified via the
sourceargument. This field is only used whentypeisrecent_value - source str
- The path to the event field where the
regexwill be applied to extract a value. You can use any valid PCL path. This field is only used whentypeisrecent_value - ttl_
seconds int - The number of seconds indicating how long to count incoming trigger events for. This field is only used when
typeistrigger_event_countorexternal_data - type str
- The type of value to store into the Cache Variable. Can be one of:
recent_value,trigger_event_countorexternal_data. - data_
type str - The type of data that will eventually be set for the Cache Variable via an API request. This field is only used when type is
external_data
- regex String
- A [RE2 regular expression][4] that will be matched against the field specified via the
sourceargument. This field is only used whentypeisrecent_value - source String
- The path to the event field where the
regexwill be applied to extract a value. You can use any valid PCL path. This field is only used whentypeisrecent_value - ttl
Seconds Number - The number of seconds indicating how long to count incoming trigger events for. This field is only used when
typeistrigger_event_countorexternal_data - type String
- The type of value to store into the Cache Variable. Can be one of:
recent_value,trigger_event_countorexternal_data. - data
Type String - The type of data that will eventually be set for the Cache Variable via an API request. This field is only used when type is
external_data
Package Details
- Repository
- PagerDuty pulumi/pulumi-pagerduty
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
pagerdutyTerraform Provider.
Viewing docs for PagerDuty v4.30.4
published on Friday, Mar 13, 2026 by Pulumi
published on Friday, Mar 13, 2026 by Pulumi
