UNPKG

@kengachu-pulumi/azure-native-web

Version:

Pulumi Azure Native package for web

83 lines (82 loc) 2.31 kB
import * as pulumi from "@pulumi/pulumi"; import * as types from "./types"; /** * 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: types.outputs.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>; }