Show / Hide Table of Contents

Class LoadBalancerArgs

Inheritance
System.Object
InputArgs
ResourceArgs
LoadBalancerArgs
Inherited Members
ResourceArgs.Empty
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.AliCloud.Slb
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class LoadBalancerArgs : ResourceArgs

Constructors

View Source

LoadBalancerArgs()

Declaration
public LoadBalancerArgs()

Properties

View Source

Address

Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the correspond ing switch.

Declaration
public Input<string> Address { get; set; }
Property Value
Type Description
Input<System.String>
View Source

AddressIpVersion

The IP version of the SLB instance to be created, which can be set to ipv4 or ipv6 . Default to "ipv4". Now, only internet instance support ipv6 address.

Declaration
public Input<string> AddressIpVersion { get; set; }
Property Value
Type Description
Input<System.String>
View Source

AddressType

The network type of the SLB instance. Valid values: ["internet", "intranet"]. If load balancer launched in VPC, this value must be "intranet".

  • internet: After an Internet SLB instance is created, the system allocates a public IP address so that the instance can forward requests from the Internet.
  • intranet: After an intranet SLB instance is created, the system allocates an intranet IP address so that the instance can only forward intranet requests.
Declaration
public Input<string> AddressType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Bandwidth

Valid value is between 1 and 1000, If argument "internet_charge_type" is "paybytraffic", then this value will be ignore.

Declaration
public Input<int> Bandwidth { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

DeleteProtection

Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function.

Declaration
public Input<string> DeleteProtection { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InstanceChargeType

The billing method of the load balancer. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Declaration
public Input<string> InstanceChargeType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Internet

Field 'internet' has been deprecated from provider version 1.55.3. Use 'address_type' replaces it.

Declaration
public Input<bool> Internet { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

InternetChargeType

Valid values are PayByBandwidth, PayByTraffic. If this value is "PayByBandwidth", then argument "internet" must be "true". Default is "PayByTraffic". If load balancer launched in VPC, this value must be "PayByTraffic". Before version 1.10.1, the valid values are "paybybandwidth" and "paybytraffic".

Declaration
public Input<string> InternetChargeType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MasterZoneId

The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.

Declaration
public Input<string> MasterZoneId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

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

Period

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Default to 1. Valid values: [1-9, 12, 24, 36].

Declaration
public Input<int> Period { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ResourceGroupId

The Id of resource group which the SLB belongs.

Declaration
public Input<string> ResourceGroupId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SlaveZoneId

The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.

Declaration
public Input<string> SlaveZoneId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Specification

The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it is must be specified and it valid values are: "slb.s1.small", "slb.s2.small", "slb.s2.medium", "slb.s3.small", "slb.s3.medium", "slb.s3.large" and "slb.s4.large".

Declaration
public Input<string> Specification { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

A mapping of tags to assign to the resource. The tags can have a maximum of 10 tag for every load balancer instance.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

VswitchId

The VSwitch ID to launch in. If address_type is internet, it will be ignore.

Declaration
public Input<string> VswitchId { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.