azure-native.recoveryservices.getReplicationRecoveryPlan
Explore with Pulumi AI
Gets the details of the recovery plan.
Uses Azure REST API version 2024-10-01.
Other available API versions: 2023-02-01, 2023-04-01, 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native recoveryservices [ApiVersion]. See the version guide for details.
Using getReplicationRecoveryPlan
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 getReplicationRecoveryPlan(args: GetReplicationRecoveryPlanArgs, opts?: InvokeOptions): Promise<GetReplicationRecoveryPlanResult>
function getReplicationRecoveryPlanOutput(args: GetReplicationRecoveryPlanOutputArgs, opts?: InvokeOptions): Output<GetReplicationRecoveryPlanResult>def get_replication_recovery_plan(recovery_plan_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  resource_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetReplicationRecoveryPlanResult
def get_replication_recovery_plan_output(recovery_plan_name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  resource_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetReplicationRecoveryPlanResult]func LookupReplicationRecoveryPlan(ctx *Context, args *LookupReplicationRecoveryPlanArgs, opts ...InvokeOption) (*LookupReplicationRecoveryPlanResult, error)
func LookupReplicationRecoveryPlanOutput(ctx *Context, args *LookupReplicationRecoveryPlanOutputArgs, opts ...InvokeOption) LookupReplicationRecoveryPlanResultOutput> Note: This function is named LookupReplicationRecoveryPlan in the Go SDK.
public static class GetReplicationRecoveryPlan 
{
    public static Task<GetReplicationRecoveryPlanResult> InvokeAsync(GetReplicationRecoveryPlanArgs args, InvokeOptions? opts = null)
    public static Output<GetReplicationRecoveryPlanResult> Invoke(GetReplicationRecoveryPlanInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetReplicationRecoveryPlanResult> getReplicationRecoveryPlan(GetReplicationRecoveryPlanArgs args, InvokeOptions options)
public static Output<GetReplicationRecoveryPlanResult> getReplicationRecoveryPlan(GetReplicationRecoveryPlanArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:recoveryservices:getReplicationRecoveryPlan
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Recovery
Plan stringName  - Name of the recovery plan.
 - Resource
Group stringName  - The name of the resource group where the recovery services vault is present.
 - Resource
Name string - The name of the recovery services vault.
 
- Recovery
Plan stringName  - Name of the recovery plan.
 - Resource
Group stringName  - The name of the resource group where the recovery services vault is present.
 - Resource
Name string - The name of the recovery services vault.
 
- recovery
Plan StringName  - Name of the recovery plan.
 - resource
Group StringName  - The name of the resource group where the recovery services vault is present.
 - resource
Name String - The name of the recovery services vault.
 
- recovery
Plan stringName  - Name of the recovery plan.
 - resource
Group stringName  - The name of the resource group where the recovery services vault is present.
 - resource
Name string - The name of the recovery services vault.
 
- recovery_
plan_ strname  - Name of the recovery plan.
 - resource_
group_ strname  - The name of the resource group where the recovery services vault is present.
 - resource_
name str - The name of the recovery services vault.
 
- recovery
Plan StringName  - Name of the recovery plan.
 - resource
Group StringName  - The name of the resource group where the recovery services vault is present.
 - resource
Name String - The name of the recovery services vault.
 
getReplicationRecoveryPlan Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Resource Id
 - Name string
 - Resource Name
 - Properties
Pulumi.
Azure Native. Recovery Services. Outputs. Recovery Plan Properties Response  - The custom details.
 - Type string
 - Resource Type
 - Location string
 - Resource Location
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Resource Id
 - Name string
 - Resource Name
 - Properties
Recovery
Plan Properties Response  - The custom details.
 - Type string
 - Resource Type
 - Location string
 - Resource Location
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Resource Id
 - name String
 - Resource Name
 - properties
Recovery
Plan Properties Response  - The custom details.
 - type String
 - Resource Type
 - location String
 - Resource Location
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - Resource Id
 - name string
 - Resource Name
 - properties
Recovery
Plan Properties Response  - The custom details.
 - type string
 - Resource Type
 - location string
 - Resource Location
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - Resource Id
 - name str
 - Resource Name
 - properties
Recovery
Plan Properties Response  - The custom details.
 - type str
 - Resource Type
 - location str
 - Resource Location
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Resource Id
 - name String
 - Resource Name
 - properties Property Map
 - The custom details.
 - type String
 - Resource Type
 - location String
 - Resource Location
 
Supporting Types
CurrentScenarioDetailsResponse   
- Job
Id string - ARM Id of the job being executed.
 - Scenario
Name string - Scenario name.
 - Start
Time string - Start time of the workflow.
 
- Job
Id string - ARM Id of the job being executed.
 - Scenario
Name string - Scenario name.
 - Start
Time string - Start time of the workflow.
 
- job
Id String - ARM Id of the job being executed.
 - scenario
Name String - Scenario name.
 - start
Time String - Start time of the workflow.
 
- job
Id string - ARM Id of the job being executed.
 - scenario
Name string - Scenario name.
 - start
Time string - Start time of the workflow.
 
- job_
id str - ARM Id of the job being executed.
 - scenario_
name str - Scenario name.
 - start_
time str - Start time of the workflow.
 
- job
Id String - ARM Id of the job being executed.
 - scenario
Name String - Scenario name.
 - start
Time String - Start time of the workflow.
 
ExtendedLocationResponse  
RecoveryPlanA2ADetailsResponse   
- Primary
Extended Pulumi.Location Azure Native. Recovery Services. Inputs. Extended Location Response  - The primary extended location.
 - Primary
Zone string - The primary zone.
 - Recovery
Extended Pulumi.Location Azure Native. Recovery Services. Inputs. Extended Location Response  - The recovery extended location.
 - Recovery
Zone string - The recovery zone.
 
- Primary
Extended ExtendedLocation Location Response  - The primary extended location.
 - Primary
Zone string - The primary zone.
 - Recovery
Extended ExtendedLocation Location Response  - The recovery extended location.
 - Recovery
Zone string - The recovery zone.
 
- primary
Extended ExtendedLocation Location Response  - The primary extended location.
 - primary
Zone String - The primary zone.
 - recovery
Extended ExtendedLocation Location Response  - The recovery extended location.
 - recovery
Zone String - The recovery zone.
 
- primary
Extended ExtendedLocation Location Response  - The primary extended location.
 - primary
Zone string - The primary zone.
 - recovery
Extended ExtendedLocation Location Response  - The recovery extended location.
 - recovery
Zone string - The recovery zone.
 
- primary_
extended_ Extendedlocation Location Response  - The primary extended location.
 - primary_
zone str - The primary zone.
 - recovery_
extended_ Extendedlocation Location Response  - The recovery extended location.
 - recovery_
zone str - The recovery zone.
 
- primary
Extended Property MapLocation  - The primary extended location.
 - primary
Zone String - The primary zone.
 - recovery
Extended Property MapLocation  - The recovery extended location.
 - recovery
Zone String - The recovery zone.
 
RecoveryPlanActionResponse   
- Action
Name string - The action name.
 - Custom
Details Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Recovery Plan Automation Runbook Action Details Response Azure | Pulumi.Native. Recovery Services. Inputs. Recovery Plan Manual Action Details Response Azure Native. Recovery Services. Inputs. Recovery Plan Script Action Details Response  - The custom details.
 - Failover
Directions List<string> - The list of failover directions.
 - Failover
Types List<string> - The list of failover types.
 
- Action
Name string - The action name.
 - Custom
Details RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response  - The custom details.
 - Failover
Directions []string - The list of failover directions.
 - Failover
Types []string - The list of failover types.
 
- action
Name String - The action name.
 - custom
Details RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response  - The custom details.
 - failover
Directions List<String> - The list of failover directions.
 - failover
Types List<String> - The list of failover types.
 
- action
Name string - The action name.
 - custom
Details RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response  - The custom details.
 - failover
Directions string[] - The list of failover directions.
 - failover
Types string[] - The list of failover types.
 
- action_
name str - The action name.
 - custom_
details RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response  - The custom details.
 - failover_
directions Sequence[str] - The list of failover directions.
 - failover_
types Sequence[str] - The list of failover types.
 
- action
Name String - The action name.
 - custom
Details Property Map | Property Map | Property Map - The custom details.
 - failover
Directions List<String> - The list of failover directions.
 - failover
Types List<String> - The list of failover types.
 
RecoveryPlanAutomationRunbookActionDetailsResponse      
- Fabric
Location string - The fabric location.
 - Runbook
Id string - The runbook ARM Id.
 - Timeout string
 - The runbook timeout.
 
- Fabric
Location string - The fabric location.
 - Runbook
Id string - The runbook ARM Id.
 - Timeout string
 - The runbook timeout.
 
- fabric
Location String - The fabric location.
 - runbook
Id String - The runbook ARM Id.
 - timeout String
 - The runbook timeout.
 
- fabric
Location string - The fabric location.
 - runbook
Id string - The runbook ARM Id.
 - timeout string
 - The runbook timeout.
 
- fabric_
location str - The fabric location.
 - runbook_
id str - The runbook ARM Id.
 - timeout str
 - The runbook timeout.
 
- fabric
Location String - The fabric location.
 - runbook
Id String - The runbook ARM Id.
 - timeout String
 - The runbook timeout.
 
RecoveryPlanGroupResponse   
- Group
Type string - The group type.
 - End
Group List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action Response>  - The end group actions.
 - Replication
Protected List<Pulumi.Items Azure Native. Recovery Services. Inputs. Recovery Plan Protected Item Response>  - The list of protected items.
 - Start
Group List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action Response>  - The start group actions.
 
- Group
Type string - The group type.
 - End
Group []RecoveryActions Plan Action Response  - The end group actions.
 - Replication
Protected []RecoveryItems Plan Protected Item Response  - The list of protected items.
 - Start
Group []RecoveryActions Plan Action Response  - The start group actions.
 
- group
Type String - The group type.
 - end
Group List<RecoveryActions Plan Action Response>  - The end group actions.
 - replication
Protected List<RecoveryItems Plan Protected Item Response>  - The list of protected items.
 - start
Group List<RecoveryActions Plan Action Response>  - The start group actions.
 
- group
Type string - The group type.
 - end
Group RecoveryActions Plan Action Response[]  - The end group actions.
 - replication
Protected RecoveryItems Plan Protected Item Response[]  - The list of protected items.
 - start
Group RecoveryActions Plan Action Response[]  - The start group actions.
 
- group_
type str - The group type.
 - end_
group_ Sequence[Recoveryactions Plan Action Response]  - The end group actions.
 - replication_
protected_ Sequence[Recoveryitems Plan Protected Item Response]  - The list of protected items.
 - start_
group_ Sequence[Recoveryactions Plan Action Response]  - The start group actions.
 
- group
Type String - The group type.
 - end
Group List<Property Map>Actions  - The end group actions.
 - replication
Protected List<Property Map>Items  - The list of protected items.
 - start
Group List<Property Map>Actions  - The start group actions.
 
RecoveryPlanManualActionDetailsResponse     
- Description string
 - The manual action description.
 
- Description string
 - The manual action description.
 
- description String
 - The manual action description.
 
- description string
 - The manual action description.
 
- description str
 - The manual action description.
 
- description String
 - The manual action description.
 
RecoveryPlanPropertiesResponse   
- Allowed
Operations List<string> - The list of allowed operations.
 - Current
Scenario Pulumi.Azure Native. Recovery Services. Inputs. Current Scenario Details Response  - The current scenario details.
 - Current
Scenario stringStatus  - The recovery plan status.
 - Current
Scenario stringStatus Description  - The recovery plan status description.
 - Failover
Deployment stringModel  - The failover deployment model.
 - Friendly
Name string - The friendly name.
 - Groups
List<Pulumi.
Azure Native. Recovery Services. Inputs. Recovery Plan Group Response>  - The recovery plan groups.
 - Last
Planned stringFailover Time  - The start time of the last planned failover.
 - Last
Test stringFailover Time  - The start time of the last test failover.
 - Last
Unplanned stringFailover Time  - The start time of the last unplanned failover.
 - Primary
Fabric stringFriendly Name  - The primary fabric friendly name.
 - Primary
Fabric stringId  - The primary fabric Id.
 - Provider
Specific List<Pulumi.Details Azure Native. Recovery Services. Inputs. Recovery Plan A2ADetails Response>  - The provider id and provider specific details.
 - Recovery
Fabric stringFriendly Name  - The recovery fabric friendly name.
 - Recovery
Fabric stringId  - The recovery fabric Id.
 - Replication
Providers List<string> - The list of replication providers.
 
- Allowed
Operations []string - The list of allowed operations.
 - Current
Scenario CurrentScenario Details Response  - The current scenario details.
 - Current
Scenario stringStatus  - The recovery plan status.
 - Current
Scenario stringStatus Description  - The recovery plan status description.
 - Failover
Deployment stringModel  - The failover deployment model.
 - Friendly
Name string - The friendly name.
 - Groups
[]Recovery
Plan Group Response  - The recovery plan groups.
 - Last
Planned stringFailover Time  - The start time of the last planned failover.
 - Last
Test stringFailover Time  - The start time of the last test failover.
 - Last
Unplanned stringFailover Time  - The start time of the last unplanned failover.
 - Primary
Fabric stringFriendly Name  - The primary fabric friendly name.
 - Primary
Fabric stringId  - The primary fabric Id.
 - Provider
Specific []RecoveryDetails Plan A2ADetails Response  - The provider id and provider specific details.
 - Recovery
Fabric stringFriendly Name  - The recovery fabric friendly name.
 - Recovery
Fabric stringId  - The recovery fabric Id.
 - Replication
Providers []string - The list of replication providers.
 
- allowed
Operations List<String> - The list of allowed operations.
 - current
Scenario CurrentScenario Details Response  - The current scenario details.
 - current
Scenario StringStatus  - The recovery plan status.
 - current
Scenario StringStatus Description  - The recovery plan status description.
 - failover
Deployment StringModel  - The failover deployment model.
 - friendly
Name String - The friendly name.
 - groups
List<Recovery
Plan Group Response>  - The recovery plan groups.
 - last
Planned StringFailover Time  - The start time of the last planned failover.
 - last
Test StringFailover Time  - The start time of the last test failover.
 - last
Unplanned StringFailover Time  - The start time of the last unplanned failover.
 - primary
Fabric StringFriendly Name  - The primary fabric friendly name.
 - primary
Fabric StringId  - The primary fabric Id.
 - provider
Specific List<RecoveryDetails Plan A2ADetails Response>  - The provider id and provider specific details.
 - recovery
Fabric StringFriendly Name  - The recovery fabric friendly name.
 - recovery
Fabric StringId  - The recovery fabric Id.
 - replication
Providers List<String> - The list of replication providers.
 
- allowed
Operations string[] - The list of allowed operations.
 - current
Scenario CurrentScenario Details Response  - The current scenario details.
 - current
Scenario stringStatus  - The recovery plan status.
 - current
Scenario stringStatus Description  - The recovery plan status description.
 - failover
Deployment stringModel  - The failover deployment model.
 - friendly
Name string - The friendly name.
 - groups
Recovery
Plan Group Response[]  - The recovery plan groups.
 - last
Planned stringFailover Time  - The start time of the last planned failover.
 - last
Test stringFailover Time  - The start time of the last test failover.
 - last
Unplanned stringFailover Time  - The start time of the last unplanned failover.
 - primary
Fabric stringFriendly Name  - The primary fabric friendly name.
 - primary
Fabric stringId  - The primary fabric Id.
 - provider
Specific RecoveryDetails Plan A2ADetails Response[]  - The provider id and provider specific details.
 - recovery
Fabric stringFriendly Name  - The recovery fabric friendly name.
 - recovery
Fabric stringId  - The recovery fabric Id.
 - replication
Providers string[] - The list of replication providers.
 
- allowed_
operations Sequence[str] - The list of allowed operations.
 - current_
scenario CurrentScenario Details Response  - The current scenario details.
 - current_
scenario_ strstatus  - The recovery plan status.
 - current_
scenario_ strstatus_ description  - The recovery plan status description.
 - failover_
deployment_ strmodel  - The failover deployment model.
 - friendly_
name str - The friendly name.
 - groups
Sequence[Recovery
Plan Group Response]  - The recovery plan groups.
 - last_
planned_ strfailover_ time  - The start time of the last planned failover.
 - last_
test_ strfailover_ time  - The start time of the last test failover.
 - last_
unplanned_ strfailover_ time  - The start time of the last unplanned failover.
 - primary_
fabric_ strfriendly_ name  - The primary fabric friendly name.
 - primary_
fabric_ strid  - The primary fabric Id.
 - provider_
specific_ Sequence[Recoverydetails Plan A2ADetails Response]  - The provider id and provider specific details.
 - recovery_
fabric_ strfriendly_ name  - The recovery fabric friendly name.
 - recovery_
fabric_ strid  - The recovery fabric Id.
 - replication_
providers Sequence[str] - The list of replication providers.
 
- allowed
Operations List<String> - The list of allowed operations.
 - current
Scenario Property Map - The current scenario details.
 - current
Scenario StringStatus  - The recovery plan status.
 - current
Scenario StringStatus Description  - The recovery plan status description.
 - failover
Deployment StringModel  - The failover deployment model.
 - friendly
Name String - The friendly name.
 - groups List<Property Map>
 - The recovery plan groups.
 - last
Planned StringFailover Time  - The start time of the last planned failover.
 - last
Test StringFailover Time  - The start time of the last test failover.
 - last
Unplanned StringFailover Time  - The start time of the last unplanned failover.
 - primary
Fabric StringFriendly Name  - The primary fabric friendly name.
 - primary
Fabric StringId  - The primary fabric Id.
 - provider
Specific List<Property Map>Details  - The provider id and provider specific details.
 - recovery
Fabric StringFriendly Name  - The recovery fabric friendly name.
 - recovery
Fabric StringId  - The recovery fabric Id.
 - replication
Providers List<String> - The list of replication providers.
 
RecoveryPlanProtectedItemResponse    
- Id string
 - The ARM Id of the recovery plan protected item.
 - Virtual
Machine stringId  - The virtual machine Id.
 
- Id string
 - The ARM Id of the recovery plan protected item.
 - Virtual
Machine stringId  - The virtual machine Id.
 
- id String
 - The ARM Id of the recovery plan protected item.
 - virtual
Machine StringId  - The virtual machine Id.
 
- id string
 - The ARM Id of the recovery plan protected item.
 - virtual
Machine stringId  - The virtual machine Id.
 
- id str
 - The ARM Id of the recovery plan protected item.
 - virtual_
machine_ strid  - The virtual machine Id.
 
- id String
 - The ARM Id of the recovery plan protected item.
 - virtual
Machine StringId  - The virtual machine Id.
 
RecoveryPlanScriptActionDetailsResponse     
- Fabric
Location string - The fabric location.
 - Path string
 - The script path.
 - Timeout string
 - The script timeout.
 
- Fabric
Location string - The fabric location.
 - Path string
 - The script path.
 - Timeout string
 - The script timeout.
 
- fabric
Location String - The fabric location.
 - path String
 - The script path.
 - timeout String
 - The script timeout.
 
- fabric
Location string - The fabric location.
 - path string
 - The script path.
 - timeout string
 - The script timeout.
 
- fabric_
location str - The fabric location.
 - path str
 - The script path.
 - timeout str
 - The script timeout.
 
- fabric
Location String - The fabric location.
 - path String
 - The script path.
 - timeout String
 - The script timeout.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0