1. Packages
  2. Scaleway
  3. API Docs
  4. LoadbalancerIp
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.LoadbalancerIp

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    Creates and manages Scaleway Load-Balancers IPs. For more information, see the documentation.

    Examples

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@lbrlabs/pulumi-scaleway";
    
    const ip = new scaleway.LoadbalancerIp("ip", {reverse: "my-reverse.com"});
    
    import pulumi
    import lbrlabs_pulumi_scaleway as scaleway
    
    ip = scaleway.LoadbalancerIp("ip", reverse="my-reverse.com")
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var ip = new Scaleway.LoadbalancerIp("ip", new()
        {
            Reverse = "my-reverse.com",
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scaleway.NewLoadbalancerIp(ctx, "ip", &scaleway.LoadbalancerIpArgs{
    			Reverse: pulumi.String("my-reverse.com"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.LoadbalancerIp;
    import com.pulumi.scaleway.LoadbalancerIpArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var ip = new LoadbalancerIp("ip", LoadbalancerIpArgs.builder()        
                .reverse("my-reverse.com")
                .build());
    
        }
    }
    
    resources:
      ip:
        type: scaleway:LoadbalancerIp
        properties:
          reverse: my-reverse.com
    

    Create LoadbalancerIp Resource

    new LoadbalancerIp(name: string, args?: LoadbalancerIpArgs, opts?: CustomResourceOptions);
    @overload
    def LoadbalancerIp(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       project_id: Optional[str] = None,
                       reverse: Optional[str] = None,
                       zone: Optional[str] = None)
    @overload
    def LoadbalancerIp(resource_name: str,
                       args: Optional[LoadbalancerIpArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    func NewLoadbalancerIp(ctx *Context, name string, args *LoadbalancerIpArgs, opts ...ResourceOption) (*LoadbalancerIp, error)
    public LoadbalancerIp(string name, LoadbalancerIpArgs? args = null, CustomResourceOptions? opts = null)
    public LoadbalancerIp(String name, LoadbalancerIpArgs args)
    public LoadbalancerIp(String name, LoadbalancerIpArgs args, CustomResourceOptions options)
    
    type: scaleway:LoadbalancerIp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args LoadbalancerIpArgs
    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 LoadbalancerIpArgs
    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 LoadbalancerIpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LoadbalancerIpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LoadbalancerIpArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    LoadbalancerIp Resource Properties

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

    Inputs

    The LoadbalancerIp resource accepts the following input properties:

    ProjectId string

    project_id) The ID of the project the IP is associated with.

    Reverse string

    The reverse domain associated with this IP.

    Zone string

    zone) The zone in which the IP should be reserved.

    ProjectId string

    project_id) The ID of the project the IP is associated with.

    Reverse string

    The reverse domain associated with this IP.

    Zone string

    zone) The zone in which the IP should be reserved.

    projectId String

    project_id) The ID of the project the IP is associated with.

    reverse String

    The reverse domain associated with this IP.

    zone String

    zone) The zone in which the IP should be reserved.

    projectId string

    project_id) The ID of the project the IP is associated with.

    reverse string

    The reverse domain associated with this IP.

    zone string

    zone) The zone in which the IP should be reserved.

    project_id str

    project_id) The ID of the project the IP is associated with.

    reverse str

    The reverse domain associated with this IP.

    zone str

    zone) The zone in which the IP should be reserved.

    projectId String

    project_id) The ID of the project the IP is associated with.

    reverse String

    The reverse domain associated with this IP.

    zone String

    zone) The zone in which the IP should be reserved.

    Outputs

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

    Id string

    The provider-assigned unique ID for this managed resource.

    IpAddress string

    The IP Address

    LbId string

    The associated load-balance ID if any

    OrganizationId string

    The organization_id you want to attach the resource to

    Region string

    The region of the resource

    Id string

    The provider-assigned unique ID for this managed resource.

    IpAddress string

    The IP Address

    LbId string

    The associated load-balance ID if any

    OrganizationId string

    The organization_id you want to attach the resource to

    Region string

    The region of the resource

    id String

    The provider-assigned unique ID for this managed resource.

    ipAddress String

    The IP Address

    lbId String

    The associated load-balance ID if any

    organizationId String

    The organization_id you want to attach the resource to

    region String

    The region of the resource

    id string

    The provider-assigned unique ID for this managed resource.

    ipAddress string

    The IP Address

    lbId string

    The associated load-balance ID if any

    organizationId string

    The organization_id you want to attach the resource to

    region string

    The region of the resource

    id str

    The provider-assigned unique ID for this managed resource.

    ip_address str

    The IP Address

    lb_id str

    The associated load-balance ID if any

    organization_id str

    The organization_id you want to attach the resource to

    region str

    The region of the resource

    id String

    The provider-assigned unique ID for this managed resource.

    ipAddress String

    The IP Address

    lbId String

    The associated load-balance ID if any

    organizationId String

    The organization_id you want to attach the resource to

    region String

    The region of the resource

    Look up Existing LoadbalancerIp Resource

    Get an existing LoadbalancerIp 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?: LoadbalancerIpState, opts?: CustomResourceOptions): LoadbalancerIp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ip_address: Optional[str] = None,
            lb_id: Optional[str] = None,
            organization_id: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            reverse: Optional[str] = None,
            zone: Optional[str] = None) -> LoadbalancerIp
    func GetLoadbalancerIp(ctx *Context, name string, id IDInput, state *LoadbalancerIpState, opts ...ResourceOption) (*LoadbalancerIp, error)
    public static LoadbalancerIp Get(string name, Input<string> id, LoadbalancerIpState? state, CustomResourceOptions? opts = null)
    public static LoadbalancerIp get(String name, Output<String> id, LoadbalancerIpState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    IpAddress string

    The IP Address

    LbId string

    The associated load-balance ID if any

    OrganizationId string

    The organization_id you want to attach the resource to

    ProjectId string

    project_id) The ID of the project the IP is associated with.

    Region string

    The region of the resource

    Reverse string

    The reverse domain associated with this IP.

    Zone string

    zone) The zone in which the IP should be reserved.

    IpAddress string

    The IP Address

    LbId string

    The associated load-balance ID if any

    OrganizationId string

    The organization_id you want to attach the resource to

    ProjectId string

    project_id) The ID of the project the IP is associated with.

    Region string

    The region of the resource

    Reverse string

    The reverse domain associated with this IP.

    Zone string

    zone) The zone in which the IP should be reserved.

    ipAddress String

    The IP Address

    lbId String

    The associated load-balance ID if any

    organizationId String

    The organization_id you want to attach the resource to

    projectId String

    project_id) The ID of the project the IP is associated with.

    region String

    The region of the resource

    reverse String

    The reverse domain associated with this IP.

    zone String

    zone) The zone in which the IP should be reserved.

    ipAddress string

    The IP Address

    lbId string

    The associated load-balance ID if any

    organizationId string

    The organization_id you want to attach the resource to

    projectId string

    project_id) The ID of the project the IP is associated with.

    region string

    The region of the resource

    reverse string

    The reverse domain associated with this IP.

    zone string

    zone) The zone in which the IP should be reserved.

    ip_address str

    The IP Address

    lb_id str

    The associated load-balance ID if any

    organization_id str

    The organization_id you want to attach the resource to

    project_id str

    project_id) The ID of the project the IP is associated with.

    region str

    The region of the resource

    reverse str

    The reverse domain associated with this IP.

    zone str

    zone) The zone in which the IP should be reserved.

    ipAddress String

    The IP Address

    lbId String

    The associated load-balance ID if any

    organizationId String

    The organization_id you want to attach the resource to

    projectId String

    project_id) The ID of the project the IP is associated with.

    region String

    The region of the resource

    reverse String

    The reverse domain associated with this IP.

    zone String

    zone) The zone in which the IP should be reserved.

    Import

    IPs can be imported using the {zone}/{id}, e.g. bash

     $ pulumi import scaleway:index/loadbalancerIp:LoadbalancerIp ip01 fr-par-1/11111111-1111-1111-1111-111111111111
    

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs