更新时间:2024-04-17 GMT+08:00
VPC.EIP
模型说明
VPC.EIP用于创建弹性公网IP。弹性公网IP是基于互联网上的静态IP地址,将弹性公网IP地址和子网中关联的弹性云服务器绑定和解绑,可以实现VPC中的弹性云服务器通过固定的公网IP地址与互联网互通。
模型属性
|
属性 |
是否必选 |
描述 |
|---|---|---|
|
publicIP |
是 |
弹性公网IP对象 参数类型:VPC.PublicIP 默认值:{u'type': u'unset'} |
|
instances |
否 |
用户自定义的创建EIP的个数 参数类型:integer 取值说明:用户自定义,默认值为1 默认值:1 取值约束:{u'greater_or_equal': 1} |
|
bandwidth |
是 |
带宽对象 参数类型:VPC.BandWidth 默认值:{u'shareType': u'PER'} |
关联关系
|
关系说明 |
关联节点 |
|---|---|
|
依赖关系 |
|
|
依赖关系 |
输出
|
属性 |
参数类型 |
描述 |
|---|---|---|
|
refIP |
string |
创建的弹性IP的地址 |
|
idList |
数组 |
批量创建的弹性IP的ID |
|
refID |
string |
创建的弹性IP的ID |
|
ipList |
数组 |
批量创建的弹性IP的地址 |
blueprint样例
tosca_definitions_version: cloud_tosca_version_1_0
inputs:
publicip-type:
default: 5_bgp
description: Public IP type.
size:
default: 1
description: 带宽大小
node_templates:
eip:
properties:
bandwidth:
name: test-eip
shareType: PER
size:
get_input: size
publicIP:
type:
get_input: publicip-type
type: Cloud.VPC.EIP
父主题: 元素列表