import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a Redis Linked Server (ie Geo Location)
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example_primary = new azure.core.ResourceGroup("example-primary", {
 *     name: "example-resources-primary",
 *     location: "East US",
 * });
 * const example_primaryCache = new azure.redis.Cache("example-primary", {
 *     name: "example-cache1",
 *     location: example_primary.location,
 *     resourceGroupName: example_primary.name,
 *     capacity: 1,
 *     family: "P",
 *     skuName: "Premium",
 *     enableNonSslPort: false,
 *     redisConfiguration: {
 *         maxmemoryReserved: 2,
 *         maxmemoryDelta: 2,
 *         maxmemoryPolicy: "allkeys-lru",
 *     },
 * });
 * const example_secondary = new azure.core.ResourceGroup("example-secondary", {
 *     name: "example-resources-secondary",
 *     location: "West US",
 * });
 * const example_secondaryCache = new azure.redis.Cache("example-secondary", {
 *     name: "example-cache2",
 *     location: example_secondary.location,
 *     resourceGroupName: example_secondary.name,
 *     capacity: 1,
 *     family: "P",
 *     skuName: "Premium",
 *     enableNonSslPort: false,
 *     redisConfiguration: {
 *         maxmemoryReserved: 2,
 *         maxmemoryDelta: 2,
 *         maxmemoryPolicy: "allkeys-lru",
 *     },
 * });
 * const example_link = new azure.redis.LinkedServer("example-link", {
 *     targetRedisCacheName: example_primaryCache.name,
 *     resourceGroupName: example_primaryCache.resourceGroupName,
 *     linkedRedisCacheId: example_secondaryCache.id,
 *     linkedRedisCacheLocation: example_secondaryCache.location,
 *     serverRole: "Secondary",
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.Cache` - 2024-11-01
 *
 * ## Import
 *
 * Redis can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:redis/linkedServer:LinkedServer example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redis/cache1/linkedServers/cache2
 * ```
 */
export declare class LinkedServer extends pulumi.CustomResource {
    /**
     * Get an existing LinkedServer resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LinkedServerState, opts?: pulumi.CustomResourceOptions): LinkedServer;
    /**
     * Returns true if the given object is an instance of LinkedServer.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is LinkedServer;
    /**
     * The geo-replicated primary hostname for this linked server.
     */
    readonly geoReplicatedPrimaryHostName: pulumi.Output<string>;
    /**
     * The ID of the linked Redis cache. Changing this forces a new Redis to be created.
     */
    readonly linkedRedisCacheId: pulumi.Output<string>;
    /**
     * The location of the linked Redis cache. Changing this forces a new Redis to be created.
     */
    readonly linkedRedisCacheLocation: pulumi.Output<string>;
    /**
     * The name of the linked server.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The name of the Resource Group where the Redis caches exists. Changing this forces a new Redis to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * The role of the linked Redis cache (eg "Secondary"). Changing this forces a new Redis to be created. Possible values are `Primary` and `Secondary`.
     */
    readonly serverRole: pulumi.Output<string>;
    /**
     * The name of Redis cache to link with. Changing this forces a new Redis to be created. (eg The primary role)
     */
    readonly targetRedisCacheName: pulumi.Output<string>;
    /**
     * Create a LinkedServer resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: LinkedServerArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering LinkedServer resources.
 */
export interface LinkedServerState {
    /**
     * The geo-replicated primary hostname for this linked server.
     */
    geoReplicatedPrimaryHostName?: pulumi.Input<string | undefined>;
    /**
     * The ID of the linked Redis cache. Changing this forces a new Redis to be created.
     */
    linkedRedisCacheId?: pulumi.Input<string | undefined>;
    /**
     * The location of the linked Redis cache. Changing this forces a new Redis to be created.
     */
    linkedRedisCacheLocation?: pulumi.Input<string | undefined>;
    /**
     * The name of the linked server.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the Resource Group where the Redis caches exists. Changing this forces a new Redis to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * The role of the linked Redis cache (eg "Secondary"). Changing this forces a new Redis to be created. Possible values are `Primary` and `Secondary`.
     */
    serverRole?: pulumi.Input<string | undefined>;
    /**
     * The name of Redis cache to link with. Changing this forces a new Redis to be created. (eg The primary role)
     */
    targetRedisCacheName?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a LinkedServer resource.
 */
export interface LinkedServerArgs {
    /**
     * The ID of the linked Redis cache. Changing this forces a new Redis to be created.
     */
    linkedRedisCacheId: pulumi.Input<string>;
    /**
     * The location of the linked Redis cache. Changing this forces a new Redis to be created.
     */
    linkedRedisCacheLocation: pulumi.Input<string>;
    /**
     * The name of the Resource Group where the Redis caches exists. Changing this forces a new Redis to be created.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * The role of the linked Redis cache (eg "Secondary"). Changing this forces a new Redis to be created. Possible values are `Primary` and `Secondary`.
     */
    serverRole: pulumi.Input<string>;
    /**
     * The name of Redis cache to link with. Changing this forces a new Redis to be created. (eg The primary role)
     */
    targetRedisCacheName: pulumi.Input<string>;
}
//# sourceMappingURL=linkedServer.d.ts.map