@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
99 lines (98 loc) • 3.23 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "./types";
/**
* Get information about a Yandex Load Balancer network load balancer. For more information, see
* [Yandex.Cloud Network Load Balancer](https://cloud.yandex.com/docs/load-balancer/concepts/).
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as yandex from "@pulumi/yandex";
*
* const foo = pulumi.output(yandex.getLbNetworkLoadBalancer({
* networkLoadBalancerId: "my-network-load-balancer",
* }));
* ```
*
* This data source is used to define [Load Balancer Network Load Balancers] that can be used by other resources.
*/
export declare function getLbNetworkLoadBalancer(args?: GetLbNetworkLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise<GetLbNetworkLoadBalancerResult>;
/**
* A collection of arguments for invoking getLbNetworkLoadBalancer.
*/
export interface GetLbNetworkLoadBalancerArgs {
/**
* Folder that the resource belongs to. If value is omitted, the default provider folder is used.
*/
folderId?: string;
/**
* - Name of the network load balancer.
*/
name?: string;
/**
* Network load balancer ID.
*/
networkLoadBalancerId?: string;
}
/**
* A collection of values returned by getLbNetworkLoadBalancer.
*/
export interface GetLbNetworkLoadBalancerResult {
/**
* An attached target group is a group of targets that is attached to a load balancer. Structure is documented below.
*/
readonly attachedTargetGroups: outputs.GetLbNetworkLoadBalancerAttachedTargetGroup[];
/**
* Creation timestamp of this network load balancer.
*/
readonly createdAt: string;
/**
* Description of the network load balancer.
*/
readonly description: string;
readonly folderId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Labels to assign to this network load balancer.
*/
readonly labels: {
[key: string]: string;
};
/**
* Listener specification that will be used by a network load balancer. Structure is documented below.
*/
readonly listeners: outputs.GetLbNetworkLoadBalancerListener[];
/**
* Name of the listener.
*/
readonly name: string;
readonly networkLoadBalancerId: string;
/**
* ID of the region where the network load balancer resides.
*/
readonly regionId: string;
/**
* Type of the network load balancer.
*/
readonly type: string;
}
export declare function getLbNetworkLoadBalancerOutput(args?: GetLbNetworkLoadBalancerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLbNetworkLoadBalancerResult>;
/**
* A collection of arguments for invoking getLbNetworkLoadBalancer.
*/
export interface GetLbNetworkLoadBalancerOutputArgs {
/**
* Folder that the resource belongs to. If value is omitted, the default provider folder is used.
*/
folderId?: pulumi.Input<string>;
/**
* - Name of the network load balancer.
*/
name?: pulumi.Input<string>;
/**
* Network load balancer ID.
*/
networkLoadBalancerId?: pulumi.Input<string>;
}