import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a TargetServer in the specified environment. */ export declare class TargetServer extends pulumi.CustomResource { /** * Get an existing TargetServer resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): TargetServer; /** * Returns true if the given object is an instance of TargetServer. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is TargetServer; /** * Optional. A human-readable description of this TargetServer. */ readonly description: pulumi.Output; readonly environmentId: pulumi.Output; /** * The host name this target connects to. Value must be a valid hostname as described by RFC-1123. */ readonly host: pulumi.Output; /** * Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true. */ readonly isEnabled: pulumi.Output; /** * Optional. The ID to give the TargetServer. This will overwrite the value in TargetServer. */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; /** * The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive. */ readonly port: pulumi.Output; /** * Immutable. The protocol used by this TargetServer. */ readonly protocol: pulumi.Output; /** * Optional. Specifies TLS configuration info for this TargetServer. The JSON name is `sSLInfo` for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration. */ readonly sSLInfo: pulumi.Output; /** * Create a TargetServer resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: TargetServerArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a TargetServer resource. */ export interface TargetServerArgs { /** * Optional. A human-readable description of this TargetServer. */ description?: pulumi.Input; environmentId: pulumi.Input; /** * The host name this target connects to. Value must be a valid hostname as described by RFC-1123. */ host: pulumi.Input; /** * Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true. */ isEnabled?: pulumi.Input; /** * The resource id of this target server. Values must match the regular expression */ name?: pulumi.Input; organizationId: pulumi.Input; /** * The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive. */ port: pulumi.Input; /** * Immutable. The protocol used by this TargetServer. */ protocol?: pulumi.Input; /** * Optional. Specifies TLS configuration info for this TargetServer. The JSON name is `sSLInfo` for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration. */ sSLInfo?: pulumi.Input; }