ibm 1.86.0 published on Wednesday, Dec 3, 2025 by ibm-cloud
ibm 1.86.0 published on Wednesday, Dec 3, 2025 by ibm-cloud
Provides a read-only data source to retrieve information about a pdr_last_operation. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const pdrLastOperation = ibm.getPdrLastOperation({
instanceId: "crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::",
});
import pulumi
import pulumi_ibm as ibm
pdr_last_operation = ibm.get_pdr_last_operation(instance_id="crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetPdrLastOperation(ctx, &ibm.GetPdrLastOperationArgs{
InstanceId: "crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455: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 pdrLastOperation = Ibm.GetPdrLastOperation.Invoke(new()
{
InstanceId = "crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455: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.GetPdrLastOperationArgs;
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 pdrLastOperation = IbmFunctions.getPdrLastOperation(GetPdrLastOperationArgs.builder()
.instanceId("crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::")
.build());
}
}
variables:
pdrLastOperation:
fn::invoke:
function: ibm:getPdrLastOperation
arguments:
instanceId: 'crn:v1:staging:public:power-dr-automation:global:a/a123456fb04ceebfb4a9fd38c22334455:123456d3-1122-3344-b67d-4389b44b7bf9::'
Using getPdrLastOperation
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 getPdrLastOperation(args: GetPdrLastOperationArgs, opts?: InvokeOptions): Promise<GetPdrLastOperationResult>
function getPdrLastOperationOutput(args: GetPdrLastOperationOutputArgs, opts?: InvokeOptions): Output<GetPdrLastOperationResult>def get_pdr_last_operation(accept_language: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPdrLastOperationResult
def get_pdr_last_operation_output(accept_language: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPdrLastOperationResult]func GetPdrLastOperation(ctx *Context, args *GetPdrLastOperationArgs, opts ...InvokeOption) (*GetPdrLastOperationResult, error)
func GetPdrLastOperationOutput(ctx *Context, args *GetPdrLastOperationOutputArgs, opts ...InvokeOption) GetPdrLastOperationResultOutput> Note: This function is named GetPdrLastOperation in the Go SDK.
public static class GetPdrLastOperation
{
public static Task<GetPdrLastOperationResult> InvokeAsync(GetPdrLastOperationArgs args, InvokeOptions? opts = null)
public static Output<GetPdrLastOperationResult> Invoke(GetPdrLastOperationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPdrLastOperationResult> getPdrLastOperation(GetPdrLastOperationArgs args, InvokeOptions options)
public static Output<GetPdrLastOperationResult> getPdrLastOperation(GetPdrLastOperationArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPdrLastOperation:getPdrLastOperation
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - instance id of instance to provision.
- Accept
Language string - The language requested for the return document.
- Id string
- The unique identifier of the pdr_last_operation.
- Instance
Id string - instance id of instance to provision.
- Accept
Language string - The language requested for the return document.
- Id string
- The unique identifier of the pdr_last_operation.
- instance
Id String - instance id of instance to provision.
- accept
Language String - The language requested for the return document.
- id String
- The unique identifier of the pdr_last_operation.
- instance
Id string - instance id of instance to provision.
- accept
Language string - The language requested for the return document.
- id string
- The unique identifier of the pdr_last_operation.
- instance_
id str - instance id of instance to provision.
- accept_
language str - The language requested for the return document.
- id str
- The unique identifier of the pdr_last_operation.
- instance
Id String - instance id of instance to provision.
- accept
Language String - The language requested for the return document.
- id String
- The unique identifier of the pdr_last_operation.
getPdrLastOperation Result
The following output properties are available:
- Crn string
- (String) The service instance crn.
- Deployment
Name string - (String) The name of the service instance deployment.
- Id string
- The unique identifier of the pdr_last_operation.
- Instance
Id string - Last
Updated stringOrchestrator Deployment Time - (String) The deployment time of primary orchestrator VM.
- Last
Updated stringStandby Orchestrator Deployment Time - (String) The deployment time of StandBy orchestrator VM.
- Mfa
Enabled string - (String) Indicated whether multi factor authentication is ennabled or not.
- Orch
Ext stringConnectivity Status - (String) Status of standby node addition to the orchestrator cluster.
- Orch
Standby stringNode Addtion Status - (String) The status of standby node in the Orchestrator cluster.
- Orchestrator
Cluster stringMessage - (String) The current status of the primary orchestrator VM.
- Orchestrator
Config stringStatus - (String) The configuration status of the orchestrator cluster.
- Orchestrator
Ha bool - (Boolean) Indicates whether high availability (HA) is enabled for the orchestrator.
- Plan
Name string - (String) The name of the DR Automation plan.
- Primary
Description string - (String) Indicates the progress details of primary orchestrator creation.
- Primary
Ip stringAddress - (String) The IP address of the primary orchestrator VM.
- Primary
Orchestrator stringStatus - (String) The configuration status of the orchestrator cluster.
- Recovery
Location string - (String) The disaster recovery location associated with the instance.
- Resource
Group string - (String) The resource group to which the service instance belongs.
- Standby
Description string - (String) Indicates the progress details of primary orchestrator creation.
- Standby
Ip stringAddress - (String) The IP address of the standby orchestrator VM.
- Standby
Status string - (String) The current state of the standby orchestrator.
- Status string
- (String) The current state of the primary orchestrator.
- Accept
Language string
- Crn string
- (String) The service instance crn.
- Deployment
Name string - (String) The name of the service instance deployment.
- Id string
- The unique identifier of the pdr_last_operation.
- Instance
Id string - Last
Updated stringOrchestrator Deployment Time - (String) The deployment time of primary orchestrator VM.
- Last
Updated stringStandby Orchestrator Deployment Time - (String) The deployment time of StandBy orchestrator VM.
- Mfa
Enabled string - (String) Indicated whether multi factor authentication is ennabled or not.
- Orch
Ext stringConnectivity Status - (String) Status of standby node addition to the orchestrator cluster.
- Orch
Standby stringNode Addtion Status - (String) The status of standby node in the Orchestrator cluster.
- Orchestrator
Cluster stringMessage - (String) The current status of the primary orchestrator VM.
- Orchestrator
Config stringStatus - (String) The configuration status of the orchestrator cluster.
- Orchestrator
Ha bool - (Boolean) Indicates whether high availability (HA) is enabled for the orchestrator.
- Plan
Name string - (String) The name of the DR Automation plan.
- Primary
Description string - (String) Indicates the progress details of primary orchestrator creation.
- Primary
Ip stringAddress - (String) The IP address of the primary orchestrator VM.
- Primary
Orchestrator stringStatus - (String) The configuration status of the orchestrator cluster.
- Recovery
Location string - (String) The disaster recovery location associated with the instance.
- Resource
Group string - (String) The resource group to which the service instance belongs.
- Standby
Description string - (String) Indicates the progress details of primary orchestrator creation.
- Standby
Ip stringAddress - (String) The IP address of the standby orchestrator VM.
- Standby
Status string - (String) The current state of the standby orchestrator.
- Status string
- (String) The current state of the primary orchestrator.
- Accept
Language string
- crn String
- (String) The service instance crn.
- deployment
Name String - (String) The name of the service instance deployment.
- id String
- The unique identifier of the pdr_last_operation.
- instance
Id String - last
Updated StringOrchestrator Deployment Time - (String) The deployment time of primary orchestrator VM.
- last
Updated StringStandby Orchestrator Deployment Time - (String) The deployment time of StandBy orchestrator VM.
- mfa
Enabled String - (String) Indicated whether multi factor authentication is ennabled or not.
- orch
Ext StringConnectivity Status - (String) Status of standby node addition to the orchestrator cluster.
- orch
Standby StringNode Addtion Status - (String) The status of standby node in the Orchestrator cluster.
- orchestrator
Cluster StringMessage - (String) The current status of the primary orchestrator VM.
- orchestrator
Config StringStatus - (String) The configuration status of the orchestrator cluster.
- orchestrator
Ha Boolean - (Boolean) Indicates whether high availability (HA) is enabled for the orchestrator.
- plan
Name String - (String) The name of the DR Automation plan.
- primary
Description String - (String) Indicates the progress details of primary orchestrator creation.
- primary
Ip StringAddress - (String) The IP address of the primary orchestrator VM.
- primary
Orchestrator StringStatus - (String) The configuration status of the orchestrator cluster.
- recovery
Location String - (String) The disaster recovery location associated with the instance.
- resource
Group String - (String) The resource group to which the service instance belongs.
- standby
Description String - (String) Indicates the progress details of primary orchestrator creation.
- standby
Ip StringAddress - (String) The IP address of the standby orchestrator VM.
- standby
Status String - (String) The current state of the standby orchestrator.
- status String
- (String) The current state of the primary orchestrator.
- accept
Language String
- crn string
- (String) The service instance crn.
- deployment
Name string - (String) The name of the service instance deployment.
- id string
- The unique identifier of the pdr_last_operation.
- instance
Id string - last
Updated stringOrchestrator Deployment Time - (String) The deployment time of primary orchestrator VM.
- last
Updated stringStandby Orchestrator Deployment Time - (String) The deployment time of StandBy orchestrator VM.
- mfa
Enabled string - (String) Indicated whether multi factor authentication is ennabled or not.
- orch
Ext stringConnectivity Status - (String) Status of standby node addition to the orchestrator cluster.
- orch
Standby stringNode Addtion Status - (String) The status of standby node in the Orchestrator cluster.
- orchestrator
Cluster stringMessage - (String) The current status of the primary orchestrator VM.
- orchestrator
Config stringStatus - (String) The configuration status of the orchestrator cluster.
- orchestrator
Ha boolean - (Boolean) Indicates whether high availability (HA) is enabled for the orchestrator.
- plan
Name string - (String) The name of the DR Automation plan.
- primary
Description string - (String) Indicates the progress details of primary orchestrator creation.
- primary
Ip stringAddress - (String) The IP address of the primary orchestrator VM.
- primary
Orchestrator stringStatus - (String) The configuration status of the orchestrator cluster.
- recovery
Location string - (String) The disaster recovery location associated with the instance.
- resource
Group string - (String) The resource group to which the service instance belongs.
- standby
Description string - (String) Indicates the progress details of primary orchestrator creation.
- standby
Ip stringAddress - (String) The IP address of the standby orchestrator VM.
- standby
Status string - (String) The current state of the standby orchestrator.
- status string
- (String) The current state of the primary orchestrator.
- accept
Language string
- crn str
- (String) The service instance crn.
- deployment_
name str - (String) The name of the service instance deployment.
- id str
- The unique identifier of the pdr_last_operation.
- instance_
id str - last_
updated_ strorchestrator_ deployment_ time - (String) The deployment time of primary orchestrator VM.
- last_
updated_ strstandby_ orchestrator_ deployment_ time - (String) The deployment time of StandBy orchestrator VM.
- mfa_
enabled str - (String) Indicated whether multi factor authentication is ennabled or not.
- orch_
ext_ strconnectivity_ status - (String) Status of standby node addition to the orchestrator cluster.
- orch_
standby_ strnode_ addtion_ status - (String) The status of standby node in the Orchestrator cluster.
- orchestrator_
cluster_ strmessage - (String) The current status of the primary orchestrator VM.
- orchestrator_
config_ strstatus - (String) The configuration status of the orchestrator cluster.
- orchestrator_
ha bool - (Boolean) Indicates whether high availability (HA) is enabled for the orchestrator.
- plan_
name str - (String) The name of the DR Automation plan.
- primary_
description str - (String) Indicates the progress details of primary orchestrator creation.
- primary_
ip_ straddress - (String) The IP address of the primary orchestrator VM.
- primary_
orchestrator_ strstatus - (String) The configuration status of the orchestrator cluster.
- recovery_
location str - (String) The disaster recovery location associated with the instance.
- resource_
group str - (String) The resource group to which the service instance belongs.
- standby_
description str - (String) Indicates the progress details of primary orchestrator creation.
- standby_
ip_ straddress - (String) The IP address of the standby orchestrator VM.
- standby_
status str - (String) The current state of the standby orchestrator.
- status str
- (String) The current state of the primary orchestrator.
- accept_
language str
- crn String
- (String) The service instance crn.
- deployment
Name String - (String) The name of the service instance deployment.
- id String
- The unique identifier of the pdr_last_operation.
- instance
Id String - last
Updated StringOrchestrator Deployment Time - (String) The deployment time of primary orchestrator VM.
- last
Updated StringStandby Orchestrator Deployment Time - (String) The deployment time of StandBy orchestrator VM.
- mfa
Enabled String - (String) Indicated whether multi factor authentication is ennabled or not.
- orch
Ext StringConnectivity Status - (String) Status of standby node addition to the orchestrator cluster.
- orch
Standby StringNode Addtion Status - (String) The status of standby node in the Orchestrator cluster.
- orchestrator
Cluster StringMessage - (String) The current status of the primary orchestrator VM.
- orchestrator
Config StringStatus - (String) The configuration status of the orchestrator cluster.
- orchestrator
Ha Boolean - (Boolean) Indicates whether high availability (HA) is enabled for the orchestrator.
- plan
Name String - (String) The name of the DR Automation plan.
- primary
Description String - (String) Indicates the progress details of primary orchestrator creation.
- primary
Ip StringAddress - (String) The IP address of the primary orchestrator VM.
- primary
Orchestrator StringStatus - (String) The configuration status of the orchestrator cluster.
- recovery
Location String - (String) The disaster recovery location associated with the instance.
- resource
Group String - (String) The resource group to which the service instance belongs.
- standby
Description String - (String) Indicates the progress details of primary orchestrator creation.
- standby
Ip StringAddress - (String) The IP address of the standby orchestrator VM.
- standby
Status String - (String) The current state of the standby orchestrator.
- status String
- (String) The current state of the primary orchestrator.
- accept
Language String
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
ibm 1.86.0 published on Wednesday, Dec 3, 2025 by ibm-cloud
