@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Response to put/get linked server (with properties) for Redis cache.
*
* Uses Azure REST API version 2024-11-01.
*
* Other available API versions: 2017-10-01, 2018-03-01, 2019-07-01, 2020-06-01, 2020-12-01, 2021-06-01, 2022-05-01, 2022-06-01, 2023-04-01, 2023-05-01-preview, 2023-08-01, 2024-03-01, 2024-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redis [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
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 opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, 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 Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The unchanging DNS name which will always point to current geo-primary cache among the linked redis caches for seamless Geo Failover experience.
*/
readonly geoReplicatedPrimaryHostName: pulumi.Output<string>;
/**
* Fully qualified resourceId of the linked redis cache.
*/
readonly linkedRedisCacheId: pulumi.Output<string>;
/**
* Location of the linked redis cache.
*/
readonly linkedRedisCacheLocation: pulumi.Output<string>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* The changing DNS name that resolves to the current geo-primary cache among the linked redis caches before or after the Geo Failover.
*/
readonly primaryHostName: pulumi.Output<string>;
/**
* Terminal state of the link between primary and secondary redis cache.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Role of the linked server.
*/
readonly serverRole: pulumi.Output<string>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.redis.SystemDataResponse>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: 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);
}
/**
* The set of arguments for constructing a LinkedServer resource.
*/
export interface LinkedServerArgs {
/**
* Fully qualified resourceId of the linked redis cache.
*/
linkedRedisCacheId: pulumi.Input<string>;
/**
* Location of the linked redis cache.
*/
linkedRedisCacheLocation: pulumi.Input<string>;
/**
* The name of the RedisLinkedServerWithProperties
*/
linkedServerName?: pulumi.Input<string>;
/**
* The name of the redis cache.
*/
name: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Role of the linked server.
*/
serverRole: pulumi.Input<enums.redis.ReplicationRole>;
}