UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

89 lines (88 loc) 3.04 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * Response to put/get linked server (with properties) for Redis cache. * * Uses Azure REST API version 2017-02-01. */ export declare class RedisLinkedServer extends pulumi.CustomResource { /** * Get an existing RedisLinkedServer 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): RedisLinkedServer; /** * Returns true if the given object is an instance of RedisLinkedServer. 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 RedisLinkedServer; /** * The Azure API version of the resource. */ readonly azureApiVersion: 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>; /** * Resource name. */ readonly name: 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>; /** * Resource type. */ readonly type: pulumi.Output<string>; /** * Create a RedisLinkedServer 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: RedisLinkedServerArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a RedisLinkedServer resource. */ export interface RedisLinkedServerArgs { /** * 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 linked server that is being added to the Redis cache. */ linkedServerName?: pulumi.Input<string>; /** * The name of the Redis cache. */ name: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * Role of the linked server. */ serverRole: pulumi.Input<enums.redis.ReplicationRole>; }