glesys.Loadbalancer
Explore with Pulumi AI
Create a LoadBalancer
Create Loadbalancer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Loadbalancer(name: string, args: LoadbalancerArgs, opts?: CustomResourceOptions);
@overload
def Loadbalancer(resource_name: str,
args: LoadbalancerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Loadbalancer(resource_name: str,
opts: Optional[ResourceOptions] = None,
datacenter: Optional[str] = None,
blacklists: Optional[Sequence[str]] = None,
blocklists: Optional[Sequence[str]] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None)
func NewLoadbalancer(ctx *Context, name string, args LoadbalancerArgs, opts ...ResourceOption) (*Loadbalancer, error)
public Loadbalancer(string name, LoadbalancerArgs args, CustomResourceOptions? opts = null)
public Loadbalancer(String name, LoadbalancerArgs args)
public Loadbalancer(String name, LoadbalancerArgs args, CustomResourceOptions options)
type: glesys:Loadbalancer
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 LoadbalancerArgs
- 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 LoadbalancerArgs
- 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 LoadbalancerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoadbalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoadbalancerArgs
- 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 loadbalancerResource = new Glesys.Loadbalancer("loadbalancerResource", new()
{
Datacenter = "string",
Blocklists = new[]
{
"string",
},
LoadbalancerId = "string",
Name = "string",
});
example, err := glesys.NewLoadbalancer(ctx, "loadbalancerResource", &glesys.LoadbalancerArgs{
Datacenter: pulumi.String("string"),
Blocklists: pulumi.StringArray{
pulumi.String("string"),
},
LoadbalancerId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var loadbalancerResource = new Loadbalancer("loadbalancerResource", LoadbalancerArgs.builder()
.datacenter("string")
.blocklists("string")
.loadbalancerId("string")
.name("string")
.build());
loadbalancer_resource = glesys.Loadbalancer("loadbalancerResource",
datacenter="string",
blocklists=["string"],
loadbalancer_id="string",
name="string")
const loadbalancerResource = new glesys.Loadbalancer("loadbalancerResource", {
datacenter: "string",
blocklists: ["string"],
loadbalancerId: "string",
name: "string",
});
type: glesys:Loadbalancer
properties:
blocklists:
- string
datacenter: string
loadbalancerId: string
name: string
Loadbalancer 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 Loadbalancer resource accepts the following input properties:
- Datacenter string
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- Blacklists List<string>
- DEPRECATED Use blocklist instead.
- Blocklists List<string>
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- Loadbalancer
Id string - The ID of this resource.
- Name string
- LoadBalancer name.
- Datacenter string
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- Blacklists []string
- DEPRECATED Use blocklist instead.
- Blocklists []string
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- Loadbalancer
Id string - The ID of this resource.
- Name string
- LoadBalancer name.
- datacenter String
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- blacklists List<String>
- DEPRECATED Use blocklist instead.
- blocklists List<String>
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- loadbalancer
Id String - The ID of this resource.
- name String
- LoadBalancer name.
- datacenter string
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- blacklists string[]
- DEPRECATED Use blocklist instead.
- blocklists string[]
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- loadbalancer
Id string - The ID of this resource.
- name string
- LoadBalancer name.
- datacenter str
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- blacklists Sequence[str]
- DEPRECATED Use blocklist instead.
- blocklists Sequence[str]
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- loadbalancer_
id str - The ID of this resource.
- name str
- LoadBalancer name.
- datacenter String
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- blacklists List<String>
- DEPRECATED Use blocklist instead.
- blocklists List<String>
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- loadbalancer
Id String - The ID of this resource.
- name String
- LoadBalancer name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Loadbalancer resource produces the following output properties:
Look up Existing Loadbalancer Resource
Get an existing Loadbalancer 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?: LoadbalancerState, opts?: CustomResourceOptions): Loadbalancer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
blacklists: Optional[Sequence[str]] = None,
blocklists: Optional[Sequence[str]] = None,
datacenter: Optional[str] = None,
iplists: Optional[Sequence[str]] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None) -> Loadbalancer
func GetLoadbalancer(ctx *Context, name string, id IDInput, state *LoadbalancerState, opts ...ResourceOption) (*Loadbalancer, error)
public static Loadbalancer Get(string name, Input<string> id, LoadbalancerState? state, CustomResourceOptions? opts = null)
public static Loadbalancer get(String name, Output<String> id, LoadbalancerState state, CustomResourceOptions options)
resources: _: type: glesys:Loadbalancer 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.
- Blacklists List<string>
- DEPRECATED Use blocklist instead.
- Blocklists List<string>
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- Datacenter string
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- Iplists List<string>
- IPs set on the LoadBalancer.
- Loadbalancer
Id string - The ID of this resource.
- Name string
- LoadBalancer name.
- Blacklists []string
- DEPRECATED Use blocklist instead.
- Blocklists []string
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- Datacenter string
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- Iplists []string
- IPs set on the LoadBalancer.
- Loadbalancer
Id string - The ID of this resource.
- Name string
- LoadBalancer name.
- blacklists List<String>
- DEPRECATED Use blocklist instead.
- blocklists List<String>
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- datacenter String
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- iplists List<String>
- IPs set on the LoadBalancer.
- loadbalancer
Id String - The ID of this resource.
- name String
- LoadBalancer name.
- blacklists string[]
- DEPRECATED Use blocklist instead.
- blocklists string[]
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- datacenter string
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- iplists string[]
- IPs set on the LoadBalancer.
- loadbalancer
Id string - The ID of this resource.
- name string
- LoadBalancer name.
- blacklists Sequence[str]
- DEPRECATED Use blocklist instead.
- blocklists Sequence[str]
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- datacenter str
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- iplists Sequence[str]
- IPs set on the LoadBalancer.
- loadbalancer_
id str - The ID of this resource.
- name str
- LoadBalancer name.
- blacklists List<String>
- DEPRECATED Use blocklist instead.
- blocklists List<String>
- LoadBalancer blocklist. List of IPs:
["a.b.c.d","x.y.z.w"]
- datacenter String
- LoadBalancer datacenter.
Falkenberg
,Stockholm
- iplists List<String>
- IPs set on the LoadBalancer.
- loadbalancer
Id String - The ID of this resource.
- name String
- LoadBalancer name.
Package Details
- Repository
- glesys glesys/terraform-provider-glesys
- License
- Notes
- This Pulumi package is based on the
glesys
Terraform Provider.