Azure Native v1.103.0, Jun 2 23
Azure Native v1.103.0, Jun 2 23
azure-native.recoveryservices.getReplicationRecoveryPlan
Explore with Pulumi AI
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:
- 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:
- 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
Recovery
Plan Properties Response The custom details.
- Type string
Resource Type
- Location string
Resource Location
- id String
Resource Id
- name String
Resource Name
- properties
Recovery
Plan Properties Response The custom details.
- type String
Resource Type
- location String
Resource Location
- id string
Resource Id
- name string
Resource Name
- properties
Recovery
Plan Properties Response The custom details.
- type string
Resource Type
- location string
Resource Location
- id str
Resource Id
- name str
Resource Name
- properties
Recovery
Plan 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
- 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.
RecoveryPlanA2ADetailsResponse
- Primary
Zone string The primary zone.
- Recovery
Zone string The recovery zone.
- Primary
Zone string The primary zone.
- Recovery
Zone string The recovery zone.
- primary
Zone String The primary zone.
- recovery
Zone String The recovery zone.
- primary
Zone string The primary zone.
- recovery
Zone string The recovery zone.
- primary_
zone str The primary zone.
- recovery_
zone str The recovery zone.
- primary
Zone String The primary zone.
- 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
- Provider
Specific List<Pulumi.Details Azure Native. Recovery Services. Inputs. Recovery Plan A2ADetails Response> The provider id and provider specific details.
- 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.
- 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.
- Provider
Specific []RecoveryDetails Plan A2ADetails Response The provider id and provider specific details.
- 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.
- Recovery
Fabric stringFriendly Name The recovery fabric friendly name.
- Recovery
Fabric stringId The recovery fabric Id.
- Replication
Providers []string The list of replication providers.
- provider
Specific List<RecoveryDetails Plan A2ADetails Response> The provider id and provider specific details.
- 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.
- 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.
- provider
Specific RecoveryDetails Plan A2ADetails Response[] The provider id and provider specific details.
- 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.
- recovery
Fabric stringFriendly Name The recovery fabric friendly name.
- recovery
Fabric stringId The recovery fabric Id.
- replication
Providers string[] The list of replication providers.
- provider_
specific_ Sequence[Recoverydetails Plan A2ADetails Response] The provider id and provider specific details.
- 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.
- 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.
- provider
Specific List<Property Map>Details The provider id and provider specific details.
- 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.
- 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