@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.95 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a specific gateway under a subscription and in a specific resource group
*
* Uses Azure REST API version 2016-06-01.
*/
export declare function getConnectionGateway(args: GetConnectionGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionGatewayResult>;
export interface GetConnectionGatewayArgs {
/**
* The connection gateway name
*/
connectionGatewayName: string;
/**
* The resource group
*/
resourceGroupName: string;
/**
* Subscription Id
*/
subscriptionId?: string;
}
/**
* The gateway definition
*/
export interface GetConnectionGatewayResult {
/**
* 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.ConnectionGatewayDefinitionResponseProperties;
/**
* Resource tags
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type
*/
readonly type: string;
}
/**
* Gets a specific gateway under a subscription and in a specific resource group
*
* Uses Azure REST API version 2016-06-01.
*/
export declare function getConnectionGatewayOutput(args: GetConnectionGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionGatewayResult>;
export interface GetConnectionGatewayOutputArgs {
/**
* The connection gateway name
*/
connectionGatewayName: pulumi.Input<string>;
/**
* The resource group
*/
resourceGroupName: pulumi.Input<string>;
/**
* Subscription Id
*/
subscriptionId?: pulumi.Input<string>;
}