@pulumi/hcloud
Version:
A Pulumi package for creating and managing hcloud cloud resources.
111 lines • 3.08 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides details about a specific Hetzner Cloud Load Balancer Type.
*
* Use this resource to get detailed information about a specific Load Balancer Type.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const byId = hcloud.getLoadBalancerType({
* id: 1,
* });
* const byName = hcloud.getLoadBalancerType({
* name: "lb11",
* });
* const main = new hcloud.LoadBalancer("main", {
* name: "my-load-balancer",
* loadBalancerType: name,
* location: "fsn1",
* });
* ```
*/
export declare function getLoadBalancerType(args?: GetLoadBalancerTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetLoadBalancerTypeResult>;
/**
* A collection of arguments for invoking getLoadBalancerType.
*/
export interface GetLoadBalancerTypeArgs {
/**
* ID of the Load Balancer Type.
*/
id?: number;
/**
* Name of the Load Balancer Type.
*/
name?: string;
}
/**
* A collection of values returned by getLoadBalancerType.
*/
export interface GetLoadBalancerTypeResult {
/**
* Description of the Load Balancer Type.
*/
readonly description: string;
/**
* ID of the Load Balancer Type.
*/
readonly id: number;
/**
* Maximum number of certificates that can be assigned for the Load Balancer of this type.
*/
readonly maxAssignedCertificates: number;
/**
* Maximum number of simultaneous open connections for the Load Balancer of this type.
*/
readonly maxConnections: number;
/**
* Maximum number of services for the Load Balancer of this type.
*/
readonly maxServices: number;
/**
* Maximum number of targets for the Load Balancer of this type.
*/
readonly maxTargets: number;
/**
* Name of the Load Balancer Type.
*/
readonly name: string;
}
/**
* Provides details about a specific Hetzner Cloud Load Balancer Type.
*
* Use this resource to get detailed information about a specific Load Balancer Type.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const byId = hcloud.getLoadBalancerType({
* id: 1,
* });
* const byName = hcloud.getLoadBalancerType({
* name: "lb11",
* });
* const main = new hcloud.LoadBalancer("main", {
* name: "my-load-balancer",
* loadBalancerType: name,
* location: "fsn1",
* });
* ```
*/
export declare function getLoadBalancerTypeOutput(args?: GetLoadBalancerTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoadBalancerTypeResult>;
/**
* A collection of arguments for invoking getLoadBalancerType.
*/
export interface GetLoadBalancerTypeOutputArgs {
/**
* ID of the Load Balancer Type.
*/
id?: pulumi.Input<number | undefined>;
/**
* Name of the Load Balancer Type.
*/
name?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getLoadBalancerType.d.ts.map