@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
87 lines (86 loc) • 2.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get information about a Yandex Application Load Balancer HTTP Router. For more information, see
* [Yandex.Cloud Application Load Balancer](https://cloud.yandex.com/en/docs/application-load-balancer/quickstart).
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as yandex from "@pulumi/yandex";
*
* const tf_router = pulumi.output(yandex.getAlbHttpRouter({
* httpRouterId: "my-http-router-id",
* }));
* ```
*
* This data source is used to define [Application Load Balancer HTTP Router] that can be used by other resources.
*/
export declare function getAlbHttpRouter(args?: GetAlbHttpRouterArgs, opts?: pulumi.InvokeOptions): Promise<GetAlbHttpRouterResult>;
/**
* A collection of arguments for invoking getAlbHttpRouter.
*/
export interface GetAlbHttpRouterArgs {
/**
* Description of the HTTP Router.
*/
description?: string;
/**
* Folder that the resource belongs to. If value is omitted, the default provider folder is used.
*/
folderId?: string;
/**
* HTTP Router ID.
*/
httpRouterId?: string;
/**
* - Name of the HTTP Router.
*/
name?: string;
}
/**
* A collection of values returned by getAlbHttpRouter.
*/
export interface GetAlbHttpRouterResult {
/**
* Creation timestamp of this HTTP Router.
*/
readonly createdAt: string;
/**
* Description of the HTTP Router.
*/
readonly description: string;
readonly folderId: string;
readonly httpRouterId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Labels to assign to this HTTP Router.
*/
readonly labels: {
[key: string]: string;
};
readonly name: string;
}
export declare function getAlbHttpRouterOutput(args?: GetAlbHttpRouterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlbHttpRouterResult>;
/**
* A collection of arguments for invoking getAlbHttpRouter.
*/
export interface GetAlbHttpRouterOutputArgs {
/**
* Description of the HTTP Router.
*/
description?: pulumi.Input<string>;
/**
* Folder that the resource belongs to. If value is omitted, the default provider folder is used.
*/
folderId?: pulumi.Input<string>;
/**
* HTTP Router ID.
*/
httpRouterId?: pulumi.Input<string>;
/**
* - Name of the HTTP Router.
*/
name?: pulumi.Input<string>;
}