scaleway.LoadbalancerIp
Explore with Pulumi AI
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:
- 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.
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.
- Ip
Address string The IP Address
- Lb
Id string The associated load-balance ID if any
- Organization
Id 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.
- Ip
Address string The IP Address
- Lb
Id string The associated load-balance ID if any
- Organization
Id 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.
- ip
Address String The IP Address
- lb
Id String The associated load-balance ID if any
- organization
Id 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.
- ip
Address string The IP Address
- lb
Id string The associated load-balance ID if any
- organization
Id 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.
- ip
Address String The IP Address
- lb
Id String The associated load-balance ID if any
- organization
Id 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.
- Ip
Address string The IP Address
- Lb
Id string The associated load-balance ID if any
- Organization
Id string The organization_id you want to attach the resource to
- Project
Id 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 string The IP Address
- Lb
Id string The associated load-balance ID if any
- Organization
Id string The organization_id you want to attach the resource to
- Project
Id 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 String The IP Address
- lb
Id String The associated load-balance ID if any
- organization
Id String The organization_id you want to attach the resource to
- project
Id 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 string The IP Address
- lb
Id string The associated load-balance ID if any
- organization
Id string The organization_id you want to attach the resource to
- project
Id 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.
- ip
Address String The IP Address
- lb
Id String The associated load-balance ID if any
- organization
Id String The organization_id you want to attach the resource to
- project
Id 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.