Show / Hide Table of Contents

Class Eip

Inheritance
System.Object
Resource
CustomResource
Eip
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.AliCloud.Ecs
Assembly: Pulumi.AliCloud.dll
Syntax
public class Eip : CustomResource

Constructors

View Source

Eip(String, EipArgs, CustomResourceOptions)

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

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

The unique name of the resource

EipArgs 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

Bandwidth

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

Declaration
public Output<int?> Bandwidth { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Description

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

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

InstanceChargeType

Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

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

InternetChargeType

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. From version 1.7.1, default to PayByTraffic. It is only PayByBandwidth when instance_charge_type is PrePaid.

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

IpAddress

The elastic ip address

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

Isp

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

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

Name

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<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]. At present, the provider does not support modify "period" and you can do that via web console.

Declaration
public Output<int?> Period { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

ResourceGroupId

The Id of resource group which the eip belongs.

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

Status

The EIP current status.

Declaration
public Output<string> Status { 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, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

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

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

Declaration
public static Eip Get(string name, Input<string> id, EipState 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.

EipState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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