@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a specific connection
*
* Uses Azure REST API version 2016-06-01.
*
* Other available API versions: 2015-08-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
export interface GetConnectionArgs {
/**
* Connection name
*/
connectionName: string;
/**
* The resource group
*/
resourceGroupName: string;
/**
* Subscription Id
*/
subscriptionId?: string;
}
/**
* API connection
*/
export interface GetConnectionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Resource ETag
*/
readonly etag?: string;
/**
* Resource id
*/
readonly id: string;
/**
* Resource location
*/
readonly location?: string;
/**
* Resource name
*/
readonly name: string;
readonly properties: outputs.web.ApiConnectionDefinitionResponseProperties;
/**
* Resource tags
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type
*/
readonly type: string;
}
/**
* Get a specific connection
*
* Uses Azure REST API version 2016-06-01.
*
* Other available API versions: 2015-08-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionResult>;
export interface GetConnectionOutputArgs {
/**
* Connection name
*/
connectionName: pulumi.Input<string>;
/**
* The resource group
*/
resourceGroupName: pulumi.Input<string>;
/**
* Subscription Id
*/
subscriptionId?: pulumi.Input<string>;
}