1. Packages
  2. Azure Native v1
  3. API Docs
  4. recoveryservices
  5. getReplicationRecoveryPlan
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.recoveryservices.getReplicationRecoveryPlan

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets the details of the recovery plan. API Version: 2018-07-10.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:recoveryservices:getReplicationRecoveryPlan
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RecoveryPlanName string
    Name of the recovery plan.
    ResourceGroupName string
    The name of the resource group where the recovery services vault is present.
    ResourceName string
    The name of the recovery services vault.
    RecoveryPlanName string
    Name of the recovery plan.
    ResourceGroupName string
    The name of the resource group where the recovery services vault is present.
    ResourceName string
    The name of the recovery services vault.
    recoveryPlanName String
    Name of the recovery plan.
    resourceGroupName String
    The name of the resource group where the recovery services vault is present.
    resourceName String
    The name of the recovery services vault.
    recoveryPlanName string
    Name of the recovery plan.
    resourceGroupName string
    The name of the resource group where the recovery services vault is present.
    resourceName string
    The name of the recovery services vault.
    recovery_plan_name str
    Name of the recovery plan.
    resource_group_name str
    The name of the resource group where the recovery services vault is present.
    resource_name str
    The name of the recovery services vault.
    recoveryPlanName String
    Name of the recovery plan.
    resourceGroupName String
    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.AzureNative.RecoveryServices.Outputs.RecoveryPlanPropertiesResponse
    The custom details.
    Type string
    Resource Type
    Location string
    Resource Location
    Id string
    Resource Id
    Name string
    Resource Name
    Properties RecoveryPlanPropertiesResponse
    The custom details.
    Type string
    Resource Type
    Location string
    Resource Location
    id String
    Resource Id
    name String
    Resource Name
    properties RecoveryPlanPropertiesResponse
    The custom details.
    type String
    Resource Type
    location String
    Resource Location
    id string
    Resource Id
    name string
    Resource Name
    properties RecoveryPlanPropertiesResponse
    The custom details.
    type string
    Resource Type
    location string
    Resource Location
    id str
    Resource Id
    name str
    Resource Name
    properties RecoveryPlanPropertiesResponse
    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.

    RecoveryPlanA2ADetailsResponse

    PrimaryZone string
    The primary zone.
    RecoveryZone string
    The recovery zone.
    PrimaryZone string
    The primary zone.
    RecoveryZone string
    The recovery zone.
    primaryZone String
    The primary zone.
    recoveryZone String
    The recovery zone.
    primaryZone string
    The primary zone.
    recoveryZone string
    The recovery zone.
    primary_zone str
    The primary zone.
    recovery_zone str
    The recovery zone.
    primaryZone String
    The primary zone.
    recoveryZone String
    The recovery zone.

    RecoveryPlanActionResponse

    ActionName string
    The action name.
    CustomDetails RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse
    The custom details.
    FailoverDirections []string
    The list of failover directions.
    FailoverTypes []string
    The list of failover types.
    actionName String
    The action name.
    customDetails RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse
    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 RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse
    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 RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse
    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.
    endGroupActions List<Property Map>
    The end group actions.
    replicationProtectedItems List<Property Map>
    The list of protected items.
    startGroupActions List<Property Map>
    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

    ProviderSpecificDetails List<Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanA2ADetailsResponse>
    The provider id and provider specific details.
    AllowedOperations List<string>
    The list of allowed operations.
    CurrentScenario Pulumi.AzureNative.RecoveryServices.Inputs.CurrentScenarioDetailsResponse
    The current scenario details.
    CurrentScenarioStatus string
    The recovery plan status.
    CurrentScenarioStatusDescription string
    The recovery plan status description.
    FailoverDeploymentModel string
    The failover deployment model.
    FriendlyName string
    The friendly name.
    Groups List<Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupResponse>
    The recovery plan groups.
    LastPlannedFailoverTime string
    The start time of the last planned failover.
    LastTestFailoverTime string
    The start time of the last test failover.
    LastUnplannedFailoverTime string
    The start time of the last unplanned failover.
    PrimaryFabricFriendlyName string
    The primary fabric friendly name.
    PrimaryFabricId string
    The primary fabric Id.
    RecoveryFabricFriendlyName string
    The recovery fabric friendly name.
    RecoveryFabricId string
    The recovery fabric Id.
    ReplicationProviders List<string>
    The list of replication providers.
    ProviderSpecificDetails []RecoveryPlanA2ADetailsResponse
    The provider id and provider specific details.
    AllowedOperations []string
    The list of allowed operations.
    CurrentScenario CurrentScenarioDetailsResponse
    The current scenario details.
    CurrentScenarioStatus string
    The recovery plan status.
    CurrentScenarioStatusDescription string
    The recovery plan status description.
    FailoverDeploymentModel string
    The failover deployment model.
    FriendlyName string
    The friendly name.
    Groups []RecoveryPlanGroupResponse
    The recovery plan groups.
    LastPlannedFailoverTime string
    The start time of the last planned failover.
    LastTestFailoverTime string
    The start time of the last test failover.
    LastUnplannedFailoverTime string
    The start time of the last unplanned failover.
    PrimaryFabricFriendlyName string
    The primary fabric friendly name.
    PrimaryFabricId string
    The primary fabric Id.
    RecoveryFabricFriendlyName string
    The recovery fabric friendly name.
    RecoveryFabricId string
    The recovery fabric Id.
    ReplicationProviders []string
    The list of replication providers.
    providerSpecificDetails List<RecoveryPlanA2ADetailsResponse>
    The provider id and provider specific details.
    allowedOperations List<String>
    The list of allowed operations.
    currentScenario CurrentScenarioDetailsResponse
    The current scenario details.
    currentScenarioStatus String
    The recovery plan status.
    currentScenarioStatusDescription String
    The recovery plan status description.
    failoverDeploymentModel String
    The failover deployment model.
    friendlyName String
    The friendly name.
    groups List<RecoveryPlanGroupResponse>
    The recovery plan groups.
    lastPlannedFailoverTime String
    The start time of the last planned failover.
    lastTestFailoverTime String
    The start time of the last test failover.
    lastUnplannedFailoverTime String
    The start time of the last unplanned failover.
    primaryFabricFriendlyName String
    The primary fabric friendly name.
    primaryFabricId String
    The primary fabric Id.
    recoveryFabricFriendlyName String
    The recovery fabric friendly name.
    recoveryFabricId String
    The recovery fabric Id.
    replicationProviders List<String>
    The list of replication providers.
    providerSpecificDetails RecoveryPlanA2ADetailsResponse[]
    The provider id and provider specific details.
    allowedOperations string[]
    The list of allowed operations.
    currentScenario CurrentScenarioDetailsResponse
    The current scenario details.
    currentScenarioStatus string
    The recovery plan status.
    currentScenarioStatusDescription string
    The recovery plan status description.
    failoverDeploymentModel string
    The failover deployment model.
    friendlyName string
    The friendly name.
    groups RecoveryPlanGroupResponse[]
    The recovery plan groups.
    lastPlannedFailoverTime string
    The start time of the last planned failover.
    lastTestFailoverTime string
    The start time of the last test failover.
    lastUnplannedFailoverTime string
    The start time of the last unplanned failover.
    primaryFabricFriendlyName string
    The primary fabric friendly name.
    primaryFabricId string
    The primary fabric Id.
    recoveryFabricFriendlyName string
    The recovery fabric friendly name.
    recoveryFabricId string
    The recovery fabric Id.
    replicationProviders string[]
    The list of replication providers.
    provider_specific_details Sequence[RecoveryPlanA2ADetailsResponse]
    The provider id and provider specific details.
    allowed_operations Sequence[str]
    The list of allowed operations.
    current_scenario CurrentScenarioDetailsResponse
    The current scenario details.
    current_scenario_status str
    The recovery plan status.
    current_scenario_status_description str
    The recovery plan status description.
    failover_deployment_model str
    The failover deployment model.
    friendly_name str
    The friendly name.
    groups Sequence[RecoveryPlanGroupResponse]
    The recovery plan groups.
    last_planned_failover_time str
    The start time of the last planned failover.
    last_test_failover_time str
    The start time of the last test failover.
    last_unplanned_failover_time str
    The start time of the last unplanned failover.
    primary_fabric_friendly_name str
    The primary fabric friendly name.
    primary_fabric_id str
    The primary fabric Id.
    recovery_fabric_friendly_name str
    The recovery fabric friendly name.
    recovery_fabric_id str
    The recovery fabric Id.
    replication_providers Sequence[str]
    The list of replication providers.
    providerSpecificDetails List<Property Map>
    The provider id and provider specific details.
    allowedOperations List<String>
    The list of allowed operations.
    currentScenario Property Map
    The current scenario details.
    currentScenarioStatus String
    The recovery plan status.
    currentScenarioStatusDescription String
    The recovery plan status description.
    failoverDeploymentModel String
    The failover deployment model.
    friendlyName String
    The friendly name.
    groups List<Property Map>
    The recovery plan groups.
    lastPlannedFailoverTime String
    The start time of the last planned failover.
    lastTestFailoverTime String
    The start time of the last test failover.
    lastUnplannedFailoverTime String
    The start time of the last unplanned failover.
    primaryFabricFriendlyName String
    The primary fabric friendly name.
    primaryFabricId String
    The primary fabric Id.
    recoveryFabricFriendlyName String
    The recovery fabric friendly name.
    recoveryFabricId String
    The recovery fabric Id.
    replicationProviders List<String>
    The list of replication providers.

    RecoveryPlanProtectedItemResponse

    Id string
    The ARM Id of the recovery plan protected item.
    VirtualMachineId string
    The virtual machine Id.
    Id string
    The ARM Id of the recovery plan protected item.
    VirtualMachineId string
    The virtual machine Id.
    id String
    The ARM Id of the recovery plan protected item.
    virtualMachineId String
    The virtual machine Id.
    id string
    The ARM Id of the recovery plan protected item.
    virtualMachineId string
    The virtual machine Id.
    id str
    The ARM Id of the recovery plan protected item.
    virtual_machine_id str
    The virtual machine Id.
    id String
    The ARM Id of the recovery plan protected item.
    virtualMachineId String
    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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi