Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
Retrieves the details of a specific event for the given service instance provision ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const pdrEvent = ibm.getPdrEvent({
eventId: "00116b2a-9326-4024-839e-fb5364b76898",
instanceId: "123456d3-1122-3344-b67d-4389b44b7bf9",
});
import pulumi
import pulumi_ibm as ibm
pdr_event = ibm.get_pdr_event(event_id="00116b2a-9326-4024-839e-fb5364b76898",
instance_id="123456d3-1122-3344-b67d-4389b44b7bf9")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetPdrEvent(ctx, &ibm.GetPdrEventArgs{
EventId: "00116b2a-9326-4024-839e-fb5364b76898",
InstanceId: "123456d3-1122-3344-b67d-4389b44b7bf9",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var pdrEvent = Ibm.GetPdrEvent.Invoke(new()
{
EventId = "00116b2a-9326-4024-839e-fb5364b76898",
InstanceId = "123456d3-1122-3344-b67d-4389b44b7bf9",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetPdrEventArgs;
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) {
final var pdrEvent = IbmFunctions.getPdrEvent(GetPdrEventArgs.builder()
.eventId("00116b2a-9326-4024-839e-fb5364b76898")
.instanceId("123456d3-1122-3344-b67d-4389b44b7bf9")
.build());
}
}
variables:
pdrEvent:
fn::invoke:
function: ibm:getPdrEvent
arguments:
eventId: 00116b2a-9326-4024-839e-fb5364b76898
instanceId: 123456d3-1122-3344-b67d-4389b44b7bf9
Example coming soon!
Using getPdrEvent
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 getPdrEvent(args: GetPdrEventArgs, opts?: InvokeOptions): Promise<GetPdrEventResult>
function getPdrEventOutput(args: GetPdrEventOutputArgs, opts?: InvokeOptions): Output<GetPdrEventResult>def get_pdr_event(accept_language: Optional[str] = None,
event_id: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPdrEventResult
def get_pdr_event_output(accept_language: pulumi.Input[Optional[str]] = None,
event_id: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
instance_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPdrEventResult]func GetPdrEvent(ctx *Context, args *GetPdrEventArgs, opts ...InvokeOption) (*GetPdrEventResult, error)
func GetPdrEventOutput(ctx *Context, args *GetPdrEventOutputArgs, opts ...InvokeOption) GetPdrEventResultOutput> Note: This function is named GetPdrEvent in the Go SDK.
public static class GetPdrEvent
{
public static Task<GetPdrEventResult> InvokeAsync(GetPdrEventArgs args, InvokeOptions? opts = null)
public static Output<GetPdrEventResult> Invoke(GetPdrEventInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPdrEventResult> getPdrEvent(GetPdrEventArgs args, InvokeOptions options)
public static Output<GetPdrEventResult> getPdrEvent(GetPdrEventArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPdrEvent:getPdrEvent
arguments:
# arguments dictionarydata "ibm_getpdrevent" "name" {
# arguments
}The following arguments are supported:
- Event
Id string - Event ID.
- Instance
Id string - ID of the service instance.
- Accept
Language string - The language requested for the return document.(ex., en,it,fr,es,de,ja,ko,pt-BR,zh-HANS,zh-HANT)
- Id string
- The unique identifier of the pdr_event.
- Event
Id string - Event ID.
- Instance
Id string - ID of the service instance.
- Accept
Language string - The language requested for the return document.(ex., en,it,fr,es,de,ja,ko,pt-BR,zh-HANS,zh-HANT)
- Id string
- The unique identifier of the pdr_event.
- event_
id string - Event ID.
- instance_
id string - ID of the service instance.
- accept_
language string - The language requested for the return document.(ex., en,it,fr,es,de,ja,ko,pt-BR,zh-HANS,zh-HANT)
- id string
- The unique identifier of the pdr_event.
- event
Id String - Event ID.
- instance
Id String - ID of the service instance.
- accept
Language String - The language requested for the return document.(ex., en,it,fr,es,de,ja,ko,pt-BR,zh-HANS,zh-HANT)
- id String
- The unique identifier of the pdr_event.
- event
Id string - Event ID.
- instance
Id string - ID of the service instance.
- accept
Language string - The language requested for the return document.(ex., en,it,fr,es,de,ja,ko,pt-BR,zh-HANS,zh-HANT)
- id string
- The unique identifier of the pdr_event.
- event_
id str - Event ID.
- instance_
id str - ID of the service instance.
- accept_
language str - The language requested for the return document.(ex., en,it,fr,es,de,ja,ko,pt-BR,zh-HANS,zh-HANT)
- id str
- The unique identifier of the pdr_event.
- event
Id String - Event ID.
- instance
Id String - ID of the service instance.
- accept
Language String - The language requested for the return document.(ex., en,it,fr,es,de,ja,ko,pt-BR,zh-HANS,zh-HANT)
- id String
- The unique identifier of the pdr_event.
getPdrEvent Result
The following output properties are available:
- Action string
- (String) Type of action for this event.
- Api
Source string - (String) Source of API when it being executed.
- Event
Id string - Id string
- The unique identifier of the pdr_event.
- Instance
Id string - Level string
- (String) Level of the event (notice, info, warning, error).
- Constraints: Allowable values are:
notice,info,warning,error.
- Constraints: Allowable values are:
- Message string
- (String) The (translated) message of the event.
- Message
Data Dictionary<string, string> - (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- Metadata Dictionary<string, string>
- (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- Resource string
- (String) Type of resource for this event.
- Time string
- (String) Time of activity in ISO 8601 - RFC3339.
- Timestamp string
- (String) Time of activity in unix epoch.
- Users
List<Get
Pdr Event User> - (List) Information about a user associated with an event. Nested schema for user:
- Accept
Language string
- Action string
- (String) Type of action for this event.
- Api
Source string - (String) Source of API when it being executed.
- Event
Id string - Id string
- The unique identifier of the pdr_event.
- Instance
Id string - Level string
- (String) Level of the event (notice, info, warning, error).
- Constraints: Allowable values are:
notice,info,warning,error.
- Constraints: Allowable values are:
- Message string
- (String) The (translated) message of the event.
- Message
Data map[string]string - (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- Metadata map[string]string
- (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- Resource string
- (String) Type of resource for this event.
- Time string
- (String) Time of activity in ISO 8601 - RFC3339.
- Timestamp string
- (String) Time of activity in unix epoch.
- Users
[]Get
Pdr Event User - (List) Information about a user associated with an event. Nested schema for user:
- Accept
Language string
- action string
- (String) Type of action for this event.
- api_
source string - (String) Source of API when it being executed.
- event_
id string - id string
- The unique identifier of the pdr_event.
- instance_
id string - level string
- (String) Level of the event (notice, info, warning, error).
- Constraints: Allowable values are:
notice,info,warning,error.
- Constraints: Allowable values are:
- message string
- (String) The (translated) message of the event.
- message_
data map(string) - (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- metadata map(string)
- (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- resource string
- (String) Type of resource for this event.
- time string
- (String) Time of activity in ISO 8601 - RFC3339.
- timestamp string
- (String) Time of activity in unix epoch.
- users list(object)
- (List) Information about a user associated with an event. Nested schema for user:
- accept_
language string
- action String
- (String) Type of action for this event.
- api
Source String - (String) Source of API when it being executed.
- event
Id String - id String
- The unique identifier of the pdr_event.
- instance
Id String - level String
- (String) Level of the event (notice, info, warning, error).
- Constraints: Allowable values are:
notice,info,warning,error.
- Constraints: Allowable values are:
- message String
- (String) The (translated) message of the event.
- message
Data Map<String,String> - (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- metadata Map<String,String>
- (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- resource String
- (String) Type of resource for this event.
- time String
- (String) Time of activity in ISO 8601 - RFC3339.
- timestamp String
- (String) Time of activity in unix epoch.
- users
List<Get
Pdr Event User> - (List) Information about a user associated with an event. Nested schema for user:
- accept
Language String
- action string
- (String) Type of action for this event.
- api
Source string - (String) Source of API when it being executed.
- event
Id string - id string
- The unique identifier of the pdr_event.
- instance
Id string - level string
- (String) Level of the event (notice, info, warning, error).
- Constraints: Allowable values are:
notice,info,warning,error.
- Constraints: Allowable values are:
- message string
- (String) The (translated) message of the event.
- message
Data {[key: string]: string} - (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- metadata {[key: string]: string}
- (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- resource string
- (String) Type of resource for this event.
- time string
- (String) Time of activity in ISO 8601 - RFC3339.
- timestamp string
- (String) Time of activity in unix epoch.
- users
Get
Pdr Event User[] - (List) Information about a user associated with an event. Nested schema for user:
- accept
Language string
- action str
- (String) Type of action for this event.
- api_
source str - (String) Source of API when it being executed.
- event_
id str - id str
- The unique identifier of the pdr_event.
- instance_
id str - level str
- (String) Level of the event (notice, info, warning, error).
- Constraints: Allowable values are:
notice,info,warning,error.
- Constraints: Allowable values are:
- message str
- (String) The (translated) message of the event.
- message_
data Mapping[str, str] - (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- metadata Mapping[str, str]
- (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- resource str
- (String) Type of resource for this event.
- time str
- (String) Time of activity in ISO 8601 - RFC3339.
- timestamp str
- (String) Time of activity in unix epoch.
- users
Sequence[Get
Pdr Event User] - (List) Information about a user associated with an event. Nested schema for user:
- accept_
language str
- action String
- (String) Type of action for this event.
- api
Source String - (String) Source of API when it being executed.
- event
Id String - id String
- The unique identifier of the pdr_event.
- instance
Id String - level String
- (String) Level of the event (notice, info, warning, error).
- Constraints: Allowable values are:
notice,info,warning,error.
- Constraints: Allowable values are:
- message String
- (String) The (translated) message of the event.
- message
Data Map<String> - (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- metadata Map<String>
- (Map) A flexible schema placeholder to allow any JSON value (aligns with interface{} in Go).
- resource String
- (String) Type of resource for this event.
- time String
- (String) Time of activity in ISO 8601 - RFC3339.
- timestamp String
- (String) Time of activity in unix epoch.
- users List<Property Map>
- (List) Information about a user associated with an event. Nested schema for user:
- accept
Language String
Supporting Types
GetPdrEventUser
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
