VPC.EIP
Element Description
VPC.EIP is used to create a public elastic IP address. A public elastic IP address is a static IP address. You can bind or unbind an elastic IP address to an Elastic Cloud Server (ECS) in a subnet. An ECS in a Virtual Private Cloud (VPC) can access the Internet through a fixed public IP address.
Element Properties
| 
        Property  | 
      
        Mandatory  | 
      
        Description  | 
     
|---|---|---|
| 
        publicIP  | 
      
        Yes  | 
      
        Type: VPC.PublicIP Default value: {u 'type': u '5_sbgp'}  | 
     
| 
        bandwidth  | 
      
        Yes  | 
      
        Type: VPC.BandWidth Default value: {u'shareType': u'PER'}  | 
     
Relationships Between Elements
| 
        Description  | 
      
        Target  | 
     
|---|---|
| 
        DependsOn  | 
      |
| 
        DependsOn  | 
      |
| 
        DependsOn  | 
      
Return Value
| 
        Property  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        refIP  | 
      
        string  | 
      
        Elastic IP address.  | 
     
| 
        floatingIpId  | 
      
        string  | 
      
        ID of the elastic IP address.  | 
     
| 
        refID  | 
      
        string  | 
      
        ID of the elastic IP address.  | 
     
| 
        refName  | 
      
        string  | 
      
        Name of the elastic IP address.  | 
     
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0
inputs:
  publicip-type:
    default: 5_bgp
    description: Public IP type.
  size:
    default: 1
    description: bandwidth
node_templates:
  eip:
    properties:
      bandwidth:
        name: test-eip
        shareType: PER
        size:
          get_input: size
      publicIP:
        type:
          get_input: publicip-type
    type: HuaweiCloud.VPC.EIP
 Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.