1. Packages
  2. Glesys Provider
  3. API Docs
  4. LoadbalancerBackend
glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys

glesys.LoadbalancerBackend

Explore with Pulumi AI

glesys logo
glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys

    LoadBalancer Backend for a glesys.Loadbalancer

    Create LoadbalancerBackend Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LoadbalancerBackend(name: string, args: LoadbalancerBackendArgs, opts?: CustomResourceOptions);
    @overload
    def LoadbalancerBackend(resource_name: str,
                            args: LoadbalancerBackendArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def LoadbalancerBackend(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            loadbalancerid: Optional[str] = None,
                            connecttimeout: Optional[float] = None,
                            loadbalancer_backend_id: Optional[str] = None,
                            mode: Optional[str] = None,
                            name: Optional[str] = None,
                            responsetimeout: Optional[float] = None,
                            stickysessions: Optional[str] = None)
    func NewLoadbalancerBackend(ctx *Context, name string, args LoadbalancerBackendArgs, opts ...ResourceOption) (*LoadbalancerBackend, error)
    public LoadbalancerBackend(string name, LoadbalancerBackendArgs args, CustomResourceOptions? opts = null)
    public LoadbalancerBackend(String name, LoadbalancerBackendArgs args)
    public LoadbalancerBackend(String name, LoadbalancerBackendArgs args, CustomResourceOptions options)
    
    type: glesys:LoadbalancerBackend
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LoadbalancerBackendArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LoadbalancerBackendArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LoadbalancerBackendArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LoadbalancerBackendArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LoadbalancerBackendArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var loadbalancerBackendResource = new Glesys.LoadbalancerBackend("loadbalancerBackendResource", new()
    {
        Loadbalancerid = "string",
        Connecttimeout = 0,
        LoadbalancerBackendId = "string",
        Mode = "string",
        Name = "string",
        Responsetimeout = 0,
        Stickysessions = "string",
    });
    
    example, err := glesys.NewLoadbalancerBackend(ctx, "loadbalancerBackendResource", &glesys.LoadbalancerBackendArgs{
    	Loadbalancerid:        pulumi.String("string"),
    	Connecttimeout:        pulumi.Float64(0),
    	LoadbalancerBackendId: pulumi.String("string"),
    	Mode:                  pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	Responsetimeout:       pulumi.Float64(0),
    	Stickysessions:        pulumi.String("string"),
    })
    
    var loadbalancerBackendResource = new LoadbalancerBackend("loadbalancerBackendResource", LoadbalancerBackendArgs.builder()
        .loadbalancerid("string")
        .connecttimeout(0)
        .loadbalancerBackendId("string")
        .mode("string")
        .name("string")
        .responsetimeout(0)
        .stickysessions("string")
        .build());
    
    loadbalancer_backend_resource = glesys.LoadbalancerBackend("loadbalancerBackendResource",
        loadbalancerid="string",
        connecttimeout=0,
        loadbalancer_backend_id="string",
        mode="string",
        name="string",
        responsetimeout=0,
        stickysessions="string")
    
    const loadbalancerBackendResource = new glesys.LoadbalancerBackend("loadbalancerBackendResource", {
        loadbalancerid: "string",
        connecttimeout: 0,
        loadbalancerBackendId: "string",
        mode: "string",
        name: "string",
        responsetimeout: 0,
        stickysessions: "string",
    });
    
    type: glesys:LoadbalancerBackend
    properties:
        connecttimeout: 0
        loadbalancerBackendId: string
        loadbalancerid: string
        mode: string
        name: string
        responsetimeout: 0
        stickysessions: string
    

    LoadbalancerBackend Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The LoadbalancerBackend resource accepts the following input properties:

    Loadbalancerid string
    LoadBalancer ID.
    Connecttimeout double
    Connection timeout to backend target. milliseconds
    LoadbalancerBackendId string
    The ID of this resource.
    Mode string
    Backend mode. TCP, HTTP.
    Name string
    Backend name.
    Responsetimeout double
    Connection response timeout. milliseconds
    Stickysessions string
    Enable backend sticky sessions. true, false, yes, no.
    Loadbalancerid string
    LoadBalancer ID.
    Connecttimeout float64
    Connection timeout to backend target. milliseconds
    LoadbalancerBackendId string
    The ID of this resource.
    Mode string
    Backend mode. TCP, HTTP.
    Name string
    Backend name.
    Responsetimeout float64
    Connection response timeout. milliseconds
    Stickysessions string
    Enable backend sticky sessions. true, false, yes, no.
    loadbalancerid String
    LoadBalancer ID.
    connecttimeout Double
    Connection timeout to backend target. milliseconds
    loadbalancerBackendId String
    The ID of this resource.
    mode String
    Backend mode. TCP, HTTP.
    name String
    Backend name.
    responsetimeout Double
    Connection response timeout. milliseconds
    stickysessions String
    Enable backend sticky sessions. true, false, yes, no.
    loadbalancerid string
    LoadBalancer ID.
    connecttimeout number
    Connection timeout to backend target. milliseconds
    loadbalancerBackendId string
    The ID of this resource.
    mode string
    Backend mode. TCP, HTTP.
    name string
    Backend name.
    responsetimeout number
    Connection response timeout. milliseconds
    stickysessions string
    Enable backend sticky sessions. true, false, yes, no.
    loadbalancerid str
    LoadBalancer ID.
    connecttimeout float
    Connection timeout to backend target. milliseconds
    loadbalancer_backend_id str
    The ID of this resource.
    mode str
    Backend mode. TCP, HTTP.
    name str
    Backend name.
    responsetimeout float
    Connection response timeout. milliseconds
    stickysessions str
    Enable backend sticky sessions. true, false, yes, no.
    loadbalancerid String
    LoadBalancer ID.
    connecttimeout Number
    Connection timeout to backend target. milliseconds
    loadbalancerBackendId String
    The ID of this resource.
    mode String
    Backend mode. TCP, HTTP.
    name String
    Backend name.
    responsetimeout Number
    Connection response timeout. milliseconds
    stickysessions String
    Enable backend sticky sessions. true, false, yes, no.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LoadbalancerBackend resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    Targets List<string>
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    Targets []string
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    targets List<String>
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    targets string[]
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    targets Sequence[str]
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    targets List<String>
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.

    Look up Existing LoadbalancerBackend Resource

    Get an existing LoadbalancerBackend resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LoadbalancerBackendState, opts?: CustomResourceOptions): LoadbalancerBackend
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connecttimeout: Optional[float] = None,
            loadbalancer_backend_id: Optional[str] = None,
            loadbalancerid: Optional[str] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            responsetimeout: Optional[float] = None,
            status: Optional[str] = None,
            stickysessions: Optional[str] = None,
            targets: Optional[Sequence[str]] = None) -> LoadbalancerBackend
    func GetLoadbalancerBackend(ctx *Context, name string, id IDInput, state *LoadbalancerBackendState, opts ...ResourceOption) (*LoadbalancerBackend, error)
    public static LoadbalancerBackend Get(string name, Input<string> id, LoadbalancerBackendState? state, CustomResourceOptions? opts = null)
    public static LoadbalancerBackend get(String name, Output<String> id, LoadbalancerBackendState state, CustomResourceOptions options)
    resources:  _:    type: glesys:LoadbalancerBackend    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Connecttimeout double
    Connection timeout to backend target. milliseconds
    LoadbalancerBackendId string
    The ID of this resource.
    Loadbalancerid string
    LoadBalancer ID.
    Mode string
    Backend mode. TCP, HTTP.
    Name string
    Backend name.
    Responsetimeout double
    Connection response timeout. milliseconds
    Status string
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    Stickysessions string
    Enable backend sticky sessions. true, false, yes, no.
    Targets List<string>
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    Connecttimeout float64
    Connection timeout to backend target. milliseconds
    LoadbalancerBackendId string
    The ID of this resource.
    Loadbalancerid string
    LoadBalancer ID.
    Mode string
    Backend mode. TCP, HTTP.
    Name string
    Backend name.
    Responsetimeout float64
    Connection response timeout. milliseconds
    Status string
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    Stickysessions string
    Enable backend sticky sessions. true, false, yes, no.
    Targets []string
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    connecttimeout Double
    Connection timeout to backend target. milliseconds
    loadbalancerBackendId String
    The ID of this resource.
    loadbalancerid String
    LoadBalancer ID.
    mode String
    Backend mode. TCP, HTTP.
    name String
    Backend name.
    responsetimeout Double
    Connection response timeout. milliseconds
    status String
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    stickysessions String
    Enable backend sticky sessions. true, false, yes, no.
    targets List<String>
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    connecttimeout number
    Connection timeout to backend target. milliseconds
    loadbalancerBackendId string
    The ID of this resource.
    loadbalancerid string
    LoadBalancer ID.
    mode string
    Backend mode. TCP, HTTP.
    name string
    Backend name.
    responsetimeout number
    Connection response timeout. milliseconds
    status string
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    stickysessions string
    Enable backend sticky sessions. true, false, yes, no.
    targets string[]
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    connecttimeout float
    Connection timeout to backend target. milliseconds
    loadbalancer_backend_id str
    The ID of this resource.
    loadbalancerid str
    LoadBalancer ID.
    mode str
    Backend mode. TCP, HTTP.
    name str
    Backend name.
    responsetimeout float
    Connection response timeout. milliseconds
    status str
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    stickysessions str
    Enable backend sticky sessions. true, false, yes, no.
    targets Sequence[str]
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.
    connecttimeout Number
    Connection timeout to backend target. milliseconds
    loadbalancerBackendId String
    The ID of this resource.
    loadbalancerid String
    LoadBalancer ID.
    mode String
    Backend mode. TCP, HTTP.
    name String
    Backend name.
    responsetimeout Number
    Connection response timeout. milliseconds
    status String
    Backend status. UP when targets are reachable and DOWN when no targets are reachable.
    stickysessions String
    Enable backend sticky sessions. true, false, yes, no.
    targets List<String>
    Backend targets. Computed by LoadBalancer Targets setting the backend parameter.

    Package Details

    Repository
    glesys glesys/terraform-provider-glesys
    License
    Notes
    This Pulumi package is based on the glesys Terraform Provider.
    glesys logo
    glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys