Show / Hide Table of Contents

Class LoadBalancer

Manages a Load Balancer Resource.

Inheritance
System.Object
Resource
CustomResource
LoadBalancer
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Lb
Assembly: Pulumi.Azure.dll
Syntax
public class LoadBalancer : CustomResource

Constructors

View Source

LoadBalancer(String, LoadBalancerArgs, CustomResourceOptions)

Create a LoadBalancer resource with the given unique name, arguments, and options.

Declaration
public LoadBalancer(string name, LoadBalancerArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

LoadBalancerArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

FrontendIpConfigurations

One or multiple frontend_ip_configuration blocks as documented below.

Declaration
public Output<ImmutableArray<LoadBalancerFrontendIpConfiguration>> FrontendIpConfigurations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<LoadBalancerFrontendIpConfiguration>>
View Source

Location

Specifies the supported Azure Region where the Load Balancer should be created.

Declaration
public Output<string> Location { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Specifies the name of the Load Balancer.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

PrivateIpAddress

Private IP Address to assign to the Load Balancer. The last one and first four IPs in any range are reserved and cannot be manually assigned.

Declaration
public Output<string> PrivateIpAddress { get; }
Property Value
Type Description
Output<System.String>
View Source

PrivateIpAddresses

The list of private IP address assigned to the load balancer in frontend_ip_configuration blocks, if any.

Declaration
public Output<ImmutableArray<string>> PrivateIpAddresses { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

ResourceGroupName

The name of the Resource Group in which to create the Load Balancer.

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

Sku

The SKU of the Azure Load Balancer. Accepted values are Basic and Standard. Defaults to Basic.

Declaration
public Output<string> Sku { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>

Methods

View Source

Get(String, Input<String>, LoadBalancerState, CustomResourceOptions)

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

Declaration
public static LoadBalancer Get(string name, Input<string> id, LoadBalancerState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

LoadBalancerState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
LoadBalancer
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.