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

79 lines (78 loc) 2.2 kB
import * as pulumi from "@pulumi/pulumi"; /** * Returns a server communication link. * * Uses Azure REST API version 2014-04-01. */ export declare function getServerCommunicationLink(args: GetServerCommunicationLinkArgs, opts?: pulumi.InvokeOptions): Promise<GetServerCommunicationLinkResult>; export interface GetServerCommunicationLinkArgs { /** * The name of the server communication link. */ communicationLinkName: string; /** * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. */ resourceGroupName: string; /** * The name of the server. */ serverName: string; } /** * Server communication link. */ export interface GetServerCommunicationLinkResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Resource ID. */ readonly id: string; /** * Communication link kind. This property is used for Azure Portal metadata. */ readonly kind: string; /** * Communication link location. */ readonly location: string; /** * Resource name. */ readonly name: string; /** * The name of the partner server. */ readonly partnerServer: string; /** * The state. */ readonly state: string; /** * Resource type. */ readonly type: string; } /** * Returns a server communication link. * * Uses Azure REST API version 2014-04-01. */ export declare function getServerCommunicationLinkOutput(args: GetServerCommunicationLinkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServerCommunicationLinkResult>; export interface GetServerCommunicationLinkOutputArgs { /** * The name of the server communication link. */ communicationLinkName: pulumi.Input<string>; /** * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. */ resourceGroupName: pulumi.Input<string>; /** * The name of the server. */ serverName: pulumi.Input<string>; }