azure-native.azurearcdata.getFailoverGroup
Explore with Pulumi AI
Retrieves a failover group resource
Uses Azure REST API version 2024-01-01.
Other available API versions: 2023-01-15-preview, 2024-05-01-preview, 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurearcdata [ApiVersion]. See the version guide for details.
Using getFailoverGroup
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 getFailoverGroup(args: GetFailoverGroupArgs, opts?: InvokeOptions): Promise<GetFailoverGroupResult>
function getFailoverGroupOutput(args: GetFailoverGroupOutputArgs, opts?: InvokeOptions): Output<GetFailoverGroupResult>def get_failover_group(failover_group_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       sql_managed_instance_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetFailoverGroupResult
def get_failover_group_output(failover_group_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       sql_managed_instance_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetFailoverGroupResult]func LookupFailoverGroup(ctx *Context, args *LookupFailoverGroupArgs, opts ...InvokeOption) (*LookupFailoverGroupResult, error)
func LookupFailoverGroupOutput(ctx *Context, args *LookupFailoverGroupOutputArgs, opts ...InvokeOption) LookupFailoverGroupResultOutput> Note: This function is named LookupFailoverGroup in the Go SDK.
public static class GetFailoverGroup 
{
    public static Task<GetFailoverGroupResult> InvokeAsync(GetFailoverGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetFailoverGroupResult> Invoke(GetFailoverGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFailoverGroupResult> getFailoverGroup(GetFailoverGroupArgs args, InvokeOptions options)
public static Output<GetFailoverGroupResult> getFailoverGroup(GetFailoverGroupArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:azurearcdata:getFailoverGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Failover
Group stringName  - The name of the Failover Group
 - Resource
Group stringName  - The name of the Azure resource group
 - Sql
Managed stringInstance Name  - Name of SQL Managed Instance
 
- Failover
Group stringName  - The name of the Failover Group
 - Resource
Group stringName  - The name of the Azure resource group
 - Sql
Managed stringInstance Name  - Name of SQL Managed Instance
 
- failover
Group StringName  - The name of the Failover Group
 - resource
Group StringName  - The name of the Azure resource group
 - sql
Managed StringInstance Name  - Name of SQL Managed Instance
 
- failover
Group stringName  - The name of the Failover Group
 - resource
Group stringName  - The name of the Azure resource group
 - sql
Managed stringInstance Name  - Name of SQL Managed Instance
 
- failover_
group_ strname  - The name of the Failover Group
 - resource_
group_ strname  - The name of the Azure resource group
 - sql_
managed_ strinstance_ name  - Name of SQL Managed Instance
 
- failover
Group StringName  - The name of the Failover Group
 - resource
Group StringName  - The name of the Azure resource group
 - sql
Managed StringInstance Name  - Name of SQL Managed Instance
 
getFailoverGroup Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - Name string
 - The name of the resource
 - Properties
Pulumi.
Azure Native. Azure Arc Data. Outputs. Failover Group Properties Response  - null
 - System
Data Pulumi.Azure Native. Azure Arc Data. Outputs. System Data Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - Name string
 - The name of the resource
 - Properties
Failover
Group Properties Response  - null
 - System
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - name String
 - The name of the resource
 - properties
Failover
Group Properties Response  - null
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - name string
 - The name of the resource
 - properties
Failover
Group Properties Response  - null
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - name str
 - The name of the resource
 - properties
Failover
Group Properties Response  - null
 - system_
data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type str
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - name String
 - The name of the resource
 - properties Property Map
 - null
 - system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 
Supporting Types
FailoverGroupPropertiesResponse   
- Partner
Managed stringInstance Id  - The resource ID of the partner SQL managed instance.
 - Provisioning
State string - The provisioning state of the failover group resource.
 - Spec
Pulumi.
Azure Native. Azure Arc Data. Inputs. Failover Group Spec Response  - The specifications of the failover group resource.
 - Status object
 - The status of the failover group custom resource.
 
- Partner
Managed stringInstance Id  - The resource ID of the partner SQL managed instance.
 - Provisioning
State string - The provisioning state of the failover group resource.
 - Spec
Failover
Group Spec Response  - The specifications of the failover group resource.
 - Status interface{}
 - The status of the failover group custom resource.
 
- partner
Managed StringInstance Id  - The resource ID of the partner SQL managed instance.
 - provisioning
State String - The provisioning state of the failover group resource.
 - spec
Failover
Group Spec Response  - The specifications of the failover group resource.
 - status Object
 - The status of the failover group custom resource.
 
- partner
Managed stringInstance Id  - The resource ID of the partner SQL managed instance.
 - provisioning
State string - The provisioning state of the failover group resource.
 - spec
Failover
Group Spec Response  - The specifications of the failover group resource.
 - status any
 - The status of the failover group custom resource.
 
- partner_
managed_ strinstance_ id  - The resource ID of the partner SQL managed instance.
 - provisioning_
state str - The provisioning state of the failover group resource.
 - spec
Failover
Group Spec Response  - The specifications of the failover group resource.
 - status Any
 - The status of the failover group custom resource.
 
- partner
Managed StringInstance Id  - The resource ID of the partner SQL managed instance.
 - provisioning
State String - The provisioning state of the failover group resource.
 - spec Property Map
 - The specifications of the failover group resource.
 - status Any
 - The status of the failover group custom resource.
 
FailoverGroupSpecResponse   
- Role string
 - The role of the SQL managed instance in this failover group.
 - Partner
MI string - The name of the partner SQL managed instance.
 - Partner
Mirroring stringCert  - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
 - Partner
Mirroring stringURL  - The mirroring endpoint URL of the partner SQL managed instance.
 - Partner
Sync stringMode  - The partner sync mode of the SQL managed instance.
 - string
 - The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
 - Source
MI string - The name of the SQL managed instance with this failover group role.
 
- Role string
 - The role of the SQL managed instance in this failover group.
 - Partner
MI string - The name of the partner SQL managed instance.
 - Partner
Mirroring stringCert  - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
 - Partner
Mirroring stringURL  - The mirroring endpoint URL of the partner SQL managed instance.
 - Partner
Sync stringMode  - The partner sync mode of the SQL managed instance.
 - string
 - The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
 - Source
MI string - The name of the SQL managed instance with this failover group role.
 
- role String
 - The role of the SQL managed instance in this failover group.
 - partner
MI String - The name of the partner SQL managed instance.
 - partner
Mirroring StringCert  - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
 - partner
Mirroring StringURL  - The mirroring endpoint URL of the partner SQL managed instance.
 - partner
Sync StringMode  - The partner sync mode of the SQL managed instance.
 - String
 - The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
 - source
MI String - The name of the SQL managed instance with this failover group role.
 
- role string
 - The role of the SQL managed instance in this failover group.
 - partner
MI string - The name of the partner SQL managed instance.
 - partner
Mirroring stringCert  - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
 - partner
Mirroring stringURL  - The mirroring endpoint URL of the partner SQL managed instance.
 - partner
Sync stringMode  - The partner sync mode of the SQL managed instance.
 - string
 - The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
 - source
MI string - The name of the SQL managed instance with this failover group role.
 
- role str
 - The role of the SQL managed instance in this failover group.
 - partner_
mi str - The name of the partner SQL managed instance.
 - partner_
mirroring_ strcert  - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
 - partner_
mirroring_ strurl  - The mirroring endpoint URL of the partner SQL managed instance.
 - partner_
sync_ strmode  - The partner sync mode of the SQL managed instance.
 - str
 - The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
 - source_
mi str - The name of the SQL managed instance with this failover group role.
 
- role String
 - The role of the SQL managed instance in this failover group.
 - partner
MI String - The name of the partner SQL managed instance.
 - partner
Mirroring StringCert  - The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
 - partner
Mirroring StringURL  - The mirroring endpoint URL of the partner SQL managed instance.
 - partner
Sync StringMode  - The partner sync mode of the SQL managed instance.
 - String
 - The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
 - source
MI String - The name of the SQL managed instance with this failover group role.
 
SystemDataResponse  
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
- created
At string - The timestamp of resource creation (UTC).
 - created
By string - The identity that created the resource.
 - created
By stringType  - The type of identity that created the resource.
 - last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - last
Modified stringBy  - The identity that last modified the resource.
 - last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created_
at str - The timestamp of resource creation (UTC).
 - created_
by str - The identity that created the resource.
 - created_
by_ strtype  - The type of identity that created the resource.
 - last_
modified_ strat  - The timestamp of resource last modification (UTC)
 - last_
modified_ strby  - The identity that last modified the resource.
 - last_
modified_ strby_ type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0