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.sql.getDisasterRecoveryConfiguration
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 a disaster recovery configuration. Azure REST API version: 2014-04-01.
Using getDisasterRecoveryConfiguration
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 getDisasterRecoveryConfiguration(args: GetDisasterRecoveryConfigurationArgs, opts?: InvokeOptions): Promise<GetDisasterRecoveryConfigurationResult>
function getDisasterRecoveryConfigurationOutput(args: GetDisasterRecoveryConfigurationOutputArgs, opts?: InvokeOptions): Output<GetDisasterRecoveryConfigurationResult>def get_disaster_recovery_configuration(disaster_recovery_configuration_name: Optional[str] = None,
                                        resource_group_name: Optional[str] = None,
                                        server_name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetDisasterRecoveryConfigurationResult
def get_disaster_recovery_configuration_output(disaster_recovery_configuration_name: Optional[pulumi.Input[str]] = None,
                                        resource_group_name: Optional[pulumi.Input[str]] = None,
                                        server_name: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetDisasterRecoveryConfigurationResult]func LookupDisasterRecoveryConfiguration(ctx *Context, args *LookupDisasterRecoveryConfigurationArgs, opts ...InvokeOption) (*LookupDisasterRecoveryConfigurationResult, error)
func LookupDisasterRecoveryConfigurationOutput(ctx *Context, args *LookupDisasterRecoveryConfigurationOutputArgs, opts ...InvokeOption) LookupDisasterRecoveryConfigurationResultOutput> Note: This function is named LookupDisasterRecoveryConfiguration in the Go SDK.
public static class GetDisasterRecoveryConfiguration 
{
    public static Task<GetDisasterRecoveryConfigurationResult> InvokeAsync(GetDisasterRecoveryConfigurationArgs args, InvokeOptions? opts = null)
    public static Output<GetDisasterRecoveryConfigurationResult> Invoke(GetDisasterRecoveryConfigurationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDisasterRecoveryConfigurationResult> getDisasterRecoveryConfiguration(GetDisasterRecoveryConfigurationArgs args, InvokeOptions options)
public static Output<GetDisasterRecoveryConfigurationResult> getDisasterRecoveryConfiguration(GetDisasterRecoveryConfigurationArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sql:getDisasterRecoveryConfiguration
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DisasterRecovery stringConfiguration Name 
- The name of the disaster recovery configuration.
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- ServerName string
- The name of the server.
- DisasterRecovery stringConfiguration Name 
- The name of the disaster recovery configuration.
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- ServerName string
- The name of the server.
- disasterRecovery StringConfiguration Name 
- The name of the disaster recovery configuration.
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName String
- The name of the server.
- disasterRecovery stringConfiguration Name 
- The name of the disaster recovery configuration.
- resourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName string
- The name of the server.
- disaster_recovery_ strconfiguration_ name 
- The name of the disaster recovery configuration.
- resource_group_ strname 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server_name str
- The name of the server.
- disasterRecovery StringConfiguration Name 
- The name of the disaster recovery configuration.
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName String
- The name of the server.
getDisasterRecoveryConfiguration Result
The following output properties are available:
- AutoFailover string
- Whether or not failover can be done automatically.
- FailoverPolicy string
- How aggressive the automatic failover should be.
- Id string
- Resource ID.
- Location string
- Location of the server that contains this disaster recovery configuration.
- LogicalServer stringName 
- Logical name of the server.
- Name string
- Resource name.
- PartnerLogical stringServer Name 
- Logical name of the partner server.
- PartnerServer stringId 
- Id of the partner server.
- Role string
- The role of the current server in the disaster recovery configuration.
- Status string
- The status of the disaster recovery configuration.
- Type string
- Resource type.
- AutoFailover string
- Whether or not failover can be done automatically.
- FailoverPolicy string
- How aggressive the automatic failover should be.
- Id string
- Resource ID.
- Location string
- Location of the server that contains this disaster recovery configuration.
- LogicalServer stringName 
- Logical name of the server.
- Name string
- Resource name.
- PartnerLogical stringServer Name 
- Logical name of the partner server.
- PartnerServer stringId 
- Id of the partner server.
- Role string
- The role of the current server in the disaster recovery configuration.
- Status string
- The status of the disaster recovery configuration.
- Type string
- Resource type.
- autoFailover String
- Whether or not failover can be done automatically.
- failoverPolicy String
- How aggressive the automatic failover should be.
- id String
- Resource ID.
- location String
- Location of the server that contains this disaster recovery configuration.
- logicalServer StringName 
- Logical name of the server.
- name String
- Resource name.
- partnerLogical StringServer Name 
- Logical name of the partner server.
- partnerServer StringId 
- Id of the partner server.
- role String
- The role of the current server in the disaster recovery configuration.
- status String
- The status of the disaster recovery configuration.
- type String
- Resource type.
- autoFailover string
- Whether or not failover can be done automatically.
- failoverPolicy string
- How aggressive the automatic failover should be.
- id string
- Resource ID.
- location string
- Location of the server that contains this disaster recovery configuration.
- logicalServer stringName 
- Logical name of the server.
- name string
- Resource name.
- partnerLogical stringServer Name 
- Logical name of the partner server.
- partnerServer stringId 
- Id of the partner server.
- role string
- The role of the current server in the disaster recovery configuration.
- status string
- The status of the disaster recovery configuration.
- type string
- Resource type.
- auto_failover str
- Whether or not failover can be done automatically.
- failover_policy str
- How aggressive the automatic failover should be.
- id str
- Resource ID.
- location str
- Location of the server that contains this disaster recovery configuration.
- logical_server_ strname 
- Logical name of the server.
- name str
- Resource name.
- partner_logical_ strserver_ name 
- Logical name of the partner server.
- partner_server_ strid 
- Id of the partner server.
- role str
- The role of the current server in the disaster recovery configuration.
- status str
- The status of the disaster recovery configuration.
- type str
- Resource type.
- autoFailover String
- Whether or not failover can be done automatically.
- failoverPolicy String
- How aggressive the automatic failover should be.
- id String
- Resource ID.
- location String
- Location of the server that contains this disaster recovery configuration.
- logicalServer StringName 
- Logical name of the server.
- name String
- Resource name.
- partnerLogical StringServer Name 
- Logical name of the partner server.
- partnerServer StringId 
- Id of the partner server.
- role String
- The role of the current server in the disaster recovery configuration.
- status String
- The status of the disaster recovery configuration.
- type String
- Resource type.
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