Class EipAssociation
Inherited Members
Namespace: Pulumi.AliCloud.Ecs
Assembly: Pulumi.AliCloud.dll
Syntax
public class EipAssociation : CustomResource
Constructors
View SourceEipAssociation(String, EipAssociationArgs, CustomResourceOptions)
Create a EipAssociation resource with the given unique name, arguments, and options.
Declaration
public EipAssociation(string name, EipAssociationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| EipAssociationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAllocationId
The allocation EIP ID.
Declaration
public Output<string> AllocationId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InstanceId
The ID of the ECS or SLB instance or Nat Gateway.
Declaration
public Output<string> InstanceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InstanceType
The type of cloud product that the eip instance to bind.
Declaration
public Output<string> InstanceType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrivateIpAddress
The private IP address in the network segment of the vswitch which has been assigned.
Declaration
public Output<string> PrivateIpAddress { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, EipAssociationState, CustomResourceOptions)
Get an existing EipAssociation resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static EipAssociation Get(string name, Input<string> id, EipAssociationState 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. |
| EipAssociationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| EipAssociation |