import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a TargetServer in the specified environment. */ export declare class OrganizationEnvironmentTargetserver extends pulumi.CustomResource { /** * Get an existing OrganizationEnvironmentTargetserver 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): OrganizationEnvironmentTargetserver; /** * Returns true if the given object is an instance of OrganizationEnvironmentTargetserver. 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 OrganizationEnvironmentTargetserver; /** * Optional. A human-readable description of this TargetServer. */ readonly description: pulumi.Output; /** * Required. 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; /** * Required. The resource id of this target server. Values must match the regular expression */ readonly name: pulumi.Output; /** * Required. The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive. */ readonly port: 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 OrganizationEnvironmentTargetserver 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: OrganizationEnvironmentTargetserverArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a OrganizationEnvironmentTargetserver resource. */ export interface OrganizationEnvironmentTargetserverArgs { /** * Optional. A human-readable description of this TargetServer. */ readonly description?: pulumi.Input; readonly environmentsId: pulumi.Input; /** * Required. The host name this target connects to. Value must be a valid hostname as described by RFC-1123. */ readonly 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. */ readonly isEnabled?: pulumi.Input; /** * Required. The resource id of this target server. Values must match the regular expression */ readonly name?: pulumi.Input; readonly organizationsId: pulumi.Input; /** * Required. The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive. */ readonly port?: 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. */ readonly sSLInfo?: pulumi.Input; readonly targetserversId: pulumi.Input; }