@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFailoverGroup(args: GetFailoverGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetFailoverGroupResult>;
export interface GetFailoverGroupArgs {
/**
* The name of the Failover Group
*/
failoverGroupName: string;
/**
* The name of the Azure resource group
*/
resourceGroupName: string;
/**
* Name of SQL Managed Instance
*/
sqlManagedInstanceName: string;
}
/**
* A failover group resource.
*/
export interface GetFailoverGroupResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* null
*/
readonly properties: outputs.azurearcdata.FailoverGroupPropertiesResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.azurearcdata.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFailoverGroupOutput(args: GetFailoverGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFailoverGroupResult>;
export interface GetFailoverGroupOutputArgs {
/**
* The name of the Failover Group
*/
failoverGroupName: pulumi.Input<string>;
/**
* The name of the Azure resource group
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of SQL Managed Instance
*/
sqlManagedInstanceName: pulumi.Input<string>;
}