@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.16 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the information about the gateway resource with the given name. The information include the description and other properties of the gateway.
*
* Uses Azure REST API version 2018-09-01-preview.
*/
export declare function getGateway(args: GetGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetGatewayResult>;
export interface GetGatewayArgs {
/**
* The identity of the gateway.
*/
gatewayResourceName: string;
/**
* Azure resource group name
*/
resourceGroupName: string;
}
/**
* This type describes a gateway resource.
*/
export interface GetGatewayResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* User readable description of the gateway.
*/
readonly description?: string;
/**
* Network that the Application is using.
*/
readonly destinationNetwork: outputs.servicefabricmesh.NetworkRefResponse;
/**
* Configuration for http connectivity for this gateway.
*/
readonly http?: outputs.servicefabricmesh.HttpConfigResponse[];
/**
* Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* IP address of the gateway. This is populated in the response and is ignored for incoming requests.
*/
readonly ipAddress: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* State of the resource.
*/
readonly provisioningState: string;
/**
* Network the gateway should listen on for requests.
*/
readonly sourceNetwork: outputs.servicefabricmesh.NetworkRefResponse;
/**
* Status of the resource.
*/
readonly status: string;
/**
* Gives additional information about the current status of the gateway.
*/
readonly statusDetails: string;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Configuration for tcp connectivity for this gateway.
*/
readonly tcp?: outputs.servicefabricmesh.TcpConfigResponse[];
/**
* The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
*/
readonly type: string;
}
/**
* Gets the information about the gateway resource with the given name. The information include the description and other properties of the gateway.
*
* Uses Azure REST API version 2018-09-01-preview.
*/
export declare function getGatewayOutput(args: GetGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGatewayResult>;
export interface GetGatewayOutputArgs {
/**
* The identity of the gateway.
*/
gatewayResourceName: pulumi.Input<string>;
/**
* Azure resource group name
*/
resourceGroupName: pulumi.Input<string>;
}