This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.recoveryservices.getReplicationRecoveryPlan
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets the details of the recovery plan. Azure REST API version: 2023-04-01.
Other available API versions: 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2024-10-01.
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:
- RecoveryPlan stringName 
- Name of the recovery plan.
- ResourceGroup stringName 
- The name of the resource group where the recovery services vault is present.
- ResourceName string
- The name of the recovery services vault.
- RecoveryPlan stringName 
- Name of the recovery plan.
- ResourceGroup stringName 
- The name of the resource group where the recovery services vault is present.
- ResourceName string
- The name of the recovery services vault.
- recoveryPlan StringName 
- Name of the recovery plan.
- resourceGroup StringName 
- The name of the resource group where the recovery services vault is present.
- resourceName String
- The name of the recovery services vault.
- recoveryPlan stringName 
- Name of the recovery plan.
- resourceGroup stringName 
- The name of the resource group where the recovery services vault is present.
- resourceName 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.
- recoveryPlan StringName 
- Name of the recovery plan.
- resourceGroup StringName 
- The name of the resource group where the recovery services vault is present.
- resourceName String
- The name of the recovery services vault.
getReplicationRecoveryPlan Result
The following output properties are available:
- 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
- Id string
- Resource Id
- Name string
- Resource Name
- Properties
RecoveryPlan Properties Response 
- The custom details.
- Type string
- Resource Type
- Location string
- Resource Location
- id String
- Resource Id
- name String
- Resource Name
- properties
RecoveryPlan Properties Response 
- The custom details.
- type String
- Resource Type
- location String
- Resource Location
- id string
- Resource Id
- name string
- Resource Name
- properties
RecoveryPlan Properties Response 
- The custom details.
- type string
- Resource Type
- location string
- Resource Location
- id str
- Resource Id
- name str
- Resource Name
- properties
RecoveryPlan Properties Response 
- The custom details.
- type str
- Resource Type
- location str
- Resource Location
- 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   
- JobId string
- ARM Id of the job being executed.
- ScenarioName string
- Scenario name.
- StartTime string
- Start time of the workflow.
- JobId string
- ARM Id of the job being executed.
- ScenarioName string
- Scenario name.
- StartTime string
- Start time of the workflow.
- jobId String
- ARM Id of the job being executed.
- scenarioName String
- Scenario name.
- startTime String
- Start time of the workflow.
- jobId string
- ARM Id of the job being executed.
- scenarioName string
- Scenario name.
- startTime 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.
- jobId String
- ARM Id of the job being executed.
- scenarioName String
- Scenario name.
- startTime String
- Start time of the workflow.
ExtendedLocationResponse  
RecoveryPlanA2ADetailsResponse   
- PrimaryExtended Pulumi.Location Azure Native. Recovery Services. Inputs. Extended Location Response 
- The primary extended location.
- PrimaryZone string
- The primary zone.
- RecoveryExtended Pulumi.Location Azure Native. Recovery Services. Inputs. Extended Location Response 
- The recovery extended location.
- RecoveryZone string
- The recovery zone.
- PrimaryExtended ExtendedLocation Location Response 
- The primary extended location.
- PrimaryZone string
- The primary zone.
- RecoveryExtended ExtendedLocation Location Response 
- The recovery extended location.
- RecoveryZone string
- The recovery zone.
- primaryExtended ExtendedLocation Location Response 
- The primary extended location.
- primaryZone String
- The primary zone.
- recoveryExtended ExtendedLocation Location Response 
- The recovery extended location.
- recoveryZone String
- The recovery zone.
- primaryExtended ExtendedLocation Location Response 
- The primary extended location.
- primaryZone string
- The primary zone.
- recoveryExtended ExtendedLocation Location Response 
- The recovery extended location.
- recoveryZone 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.
- primaryExtended Property MapLocation 
- The primary extended location.
- primaryZone String
- The primary zone.
- recoveryExtended Property MapLocation 
- The recovery extended location.
- recoveryZone String
- The recovery zone.
RecoveryPlanActionResponse   
- ActionName string
- The action name.
- CustomDetails 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.
- FailoverDirections List<string>
- The list of failover directions.
- FailoverTypes List<string>
- The list of failover types.
- ActionName string
- The action name.
- CustomDetails RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response 
- The custom details.
- FailoverDirections []string
- The list of failover directions.
- FailoverTypes []string
- The list of failover types.
- actionName String
- The action name.
- customDetails RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response 
- The custom details.
- failoverDirections List<String>
- The list of failover directions.
- failoverTypes List<String>
- The list of failover types.
- actionName string
- The action name.
- customDetails RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response 
- The custom details.
- failoverDirections string[]
- The list of failover directions.
- failoverTypes 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.
- actionName String
- The action name.
- customDetails Property Map | Property Map | Property Map
- The custom details.
- failoverDirections List<String>
- The list of failover directions.
- failoverTypes List<String>
- The list of failover types.
RecoveryPlanAutomationRunbookActionDetailsResponse      
- FabricLocation string
- The fabric location.
- RunbookId string
- The runbook ARM Id.
- Timeout string
- The runbook timeout.
- FabricLocation string
- The fabric location.
- RunbookId string
- The runbook ARM Id.
- Timeout string
- The runbook timeout.
- fabricLocation String
- The fabric location.
- runbookId String
- The runbook ARM Id.
- timeout String
- The runbook timeout.
- fabricLocation string
- The fabric location.
- runbookId 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.
- fabricLocation String
- The fabric location.
- runbookId String
- The runbook ARM Id.
- timeout String
- The runbook timeout.
RecoveryPlanGroupResponse   
- GroupType string
- The group type.
- EndGroup List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action Response> 
- The end group actions.
- ReplicationProtected List<Pulumi.Items Azure Native. Recovery Services. Inputs. Recovery Plan Protected Item Response> 
- The list of protected items.
- StartGroup List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action Response> 
- The start group actions.
- GroupType string
- The group type.
- EndGroup []RecoveryActions Plan Action Response 
- The end group actions.
- ReplicationProtected []RecoveryItems Plan Protected Item Response 
- The list of protected items.
- StartGroup []RecoveryActions Plan Action Response 
- The start group actions.
- groupType String
- The group type.
- endGroup List<RecoveryActions Plan Action Response> 
- The end group actions.
- replicationProtected List<RecoveryItems Plan Protected Item Response> 
- The list of protected items.
- startGroup List<RecoveryActions Plan Action Response> 
- The start group actions.
- groupType string
- The group type.
- endGroup RecoveryActions Plan Action Response[] 
- The end group actions.
- replicationProtected RecoveryItems Plan Protected Item Response[] 
- The list of protected items.
- startGroup 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.
- groupType String
- The group type.
- endGroup List<Property Map>Actions 
- The end group actions.
- replicationProtected List<Property Map>Items 
- The list of protected items.
- startGroup 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   
- AllowedOperations List<string>
- The list of allowed operations.
- CurrentScenario Pulumi.Azure Native. Recovery Services. Inputs. Current Scenario Details Response 
- The current scenario details.
- CurrentScenario stringStatus 
- The recovery plan status.
- CurrentScenario stringStatus Description 
- The recovery plan status description.
- FailoverDeployment stringModel 
- The failover deployment model.
- FriendlyName string
- The friendly name.
- Groups
List<Pulumi.Azure Native. Recovery Services. Inputs. Recovery Plan Group Response> 
- The recovery plan groups.
- LastPlanned stringFailover Time 
- The start time of the last planned failover.
- LastTest stringFailover Time 
- The start time of the last test failover.
- LastUnplanned stringFailover Time 
- The start time of the last unplanned failover.
- PrimaryFabric stringFriendly Name 
- The primary fabric friendly name.
- PrimaryFabric stringId 
- The primary fabric Id.
- ProviderSpecific List<Pulumi.Details Azure Native. Recovery Services. Inputs. Recovery Plan A2ADetails Response> 
- The provider id and provider specific details.
- RecoveryFabric stringFriendly Name 
- The recovery fabric friendly name.
- RecoveryFabric stringId 
- The recovery fabric Id.
- ReplicationProviders List<string>
- The list of replication providers.
- AllowedOperations []string
- The list of allowed operations.
- CurrentScenario CurrentScenario Details Response 
- The current scenario details.
- CurrentScenario stringStatus 
- The recovery plan status.
- CurrentScenario stringStatus Description 
- The recovery plan status description.
- FailoverDeployment stringModel 
- The failover deployment model.
- FriendlyName string
- The friendly name.
- Groups
[]RecoveryPlan Group Response 
- The recovery plan groups.
- LastPlanned stringFailover Time 
- The start time of the last planned failover.
- LastTest stringFailover Time 
- The start time of the last test failover.
- LastUnplanned stringFailover Time 
- The start time of the last unplanned failover.
- PrimaryFabric stringFriendly Name 
- The primary fabric friendly name.
- PrimaryFabric stringId 
- The primary fabric Id.
- ProviderSpecific []RecoveryDetails Plan A2ADetails Response 
- The provider id and provider specific details.
- RecoveryFabric stringFriendly Name 
- The recovery fabric friendly name.
- RecoveryFabric stringId 
- The recovery fabric Id.
- ReplicationProviders []string
- The list of replication providers.
- allowedOperations List<String>
- The list of allowed operations.
- currentScenario CurrentScenario Details Response 
- The current scenario details.
- currentScenario StringStatus 
- The recovery plan status.
- currentScenario StringStatus Description 
- The recovery plan status description.
- failoverDeployment StringModel 
- The failover deployment model.
- friendlyName String
- The friendly name.
- groups
List<RecoveryPlan Group Response> 
- The recovery plan groups.
- lastPlanned StringFailover Time 
- The start time of the last planned failover.
- lastTest StringFailover Time 
- The start time of the last test failover.
- lastUnplanned StringFailover Time 
- The start time of the last unplanned failover.
- primaryFabric StringFriendly Name 
- The primary fabric friendly name.
- primaryFabric StringId 
- The primary fabric Id.
- providerSpecific List<RecoveryDetails Plan A2ADetails Response> 
- The provider id and provider specific details.
- recoveryFabric StringFriendly Name 
- The recovery fabric friendly name.
- recoveryFabric StringId 
- The recovery fabric Id.
- replicationProviders List<String>
- The list of replication providers.
- allowedOperations string[]
- The list of allowed operations.
- currentScenario CurrentScenario Details Response 
- The current scenario details.
- currentScenario stringStatus 
- The recovery plan status.
- currentScenario stringStatus Description 
- The recovery plan status description.
- failoverDeployment stringModel 
- The failover deployment model.
- friendlyName string
- The friendly name.
- groups
RecoveryPlan Group Response[] 
- The recovery plan groups.
- lastPlanned stringFailover Time 
- The start time of the last planned failover.
- lastTest stringFailover Time 
- The start time of the last test failover.
- lastUnplanned stringFailover Time 
- The start time of the last unplanned failover.
- primaryFabric stringFriendly Name 
- The primary fabric friendly name.
- primaryFabric stringId 
- The primary fabric Id.
- providerSpecific RecoveryDetails Plan A2ADetails Response[] 
- The provider id and provider specific details.
- recoveryFabric stringFriendly Name 
- The recovery fabric friendly name.
- recoveryFabric stringId 
- The recovery fabric Id.
- replicationProviders 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[RecoveryPlan 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.
- allowedOperations List<String>
- The list of allowed operations.
- currentScenario Property Map
- The current scenario details.
- currentScenario StringStatus 
- The recovery plan status.
- currentScenario StringStatus Description 
- The recovery plan status description.
- failoverDeployment StringModel 
- The failover deployment model.
- friendlyName String
- The friendly name.
- groups List<Property Map>
- The recovery plan groups.
- lastPlanned StringFailover Time 
- The start time of the last planned failover.
- lastTest StringFailover Time 
- The start time of the last test failover.
- lastUnplanned StringFailover Time 
- The start time of the last unplanned failover.
- primaryFabric StringFriendly Name 
- The primary fabric friendly name.
- primaryFabric StringId 
- The primary fabric Id.
- providerSpecific List<Property Map>Details 
- The provider id and provider specific details.
- recoveryFabric StringFriendly Name 
- The recovery fabric friendly name.
- recoveryFabric StringId 
- The recovery fabric Id.
- replicationProviders List<String>
- The list of replication providers.
RecoveryPlanProtectedItemResponse    
- Id string
- The ARM Id of the recovery plan protected item.
- VirtualMachine stringId 
- The virtual machine Id.
- Id string
- The ARM Id of the recovery plan protected item.
- VirtualMachine stringId 
- The virtual machine Id.
- id String
- The ARM Id of the recovery plan protected item.
- virtualMachine StringId 
- The virtual machine Id.
- id string
- The ARM Id of the recovery plan protected item.
- virtualMachine 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.
- virtualMachine StringId 
- The virtual machine Id.
RecoveryPlanScriptActionDetailsResponse     
- FabricLocation string
- The fabric location.
- Path string
- The script path.
- Timeout string
- The script timeout.
- FabricLocation string
- The fabric location.
- Path string
- The script path.
- Timeout string
- The script timeout.
- fabricLocation String
- The fabric location.
- path String
- The script path.
- timeout String
- The script timeout.
- fabricLocation 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.
- fabricLocation 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
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi