Class: PuppetX::VMware::MapperNsx::NsxEdgeLbVip
- Defined in:
- lib/puppet_x/vmware/mapper_nsx/nsx_edge_lb_vip.rb
Constant Summary
Constants inherited from Map
Map::PIN_NIL_VALUE, Map::PIN_NO_PARENT, Map::PIN_NO_VALUE
Instance Attribute Summary
Attributes inherited from Map
Instance Method Summary collapse
-
#initialize ⇒ NsxEdgeLbVip
constructor
A new instance of NsxEdgeLbVip.
Methods inherited from Map
#ensure_is_class, #gyoku_issue_48, #gyoku_self_closing_keys, #nested_value, #nested_value_set, #prep_for_serialization, #prep_is_now
Constructor Details
#initialize ⇒ NsxEdgeLbVip
Returns a new instance of NsxEdgeLbVip.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/puppet_x/vmware/mapper_nsx/nsx_edge_lb_vip.rb', line 8 def initialize @initTree = { :virtualServer => { Node => NodeData[ :node_type => 'REST', :olio => { :ensure_is_class => ::Hash, }, #:xml_ns => 'http://www.vmware.com/vcloud/v1.5', #:xml_type => 'application/vnd.vmware.admin.organization+xml', ], :virtualServerId => LeafData[ ], :'name' => LeafData[ :prop_name => 'name', ], :description => LeafData[ :desc => "description of the vip", ], :enabled => LeafData[ :desc => "Whether or not vip is enabled", :valid_enum => [:true, :false], ], :ipAddress => LeafData[ :desc => "ip address of the vip", ], :protocol => LeafData[ :desc => "protocol of the vip", ], :port => LeafData[ :desc => "port of the vip", :olio => { :ensure_is_class => ::Integer, }, ], :connectionLimit => LeafData[ :desc => "Connection Limit of the vip", :olio => { :ensure_is_class => ::Integer, }, ], :connectionRateLimit => LeafData[ :desc => "connection Rate Limit of the vip", :olio => { :ensure_is_class => ::Integer, }, ], :applicationProfileId => LeafData[ :desc => "application profile the vip uses, this should be the name which will automatically get converted into an id", :olio => { :ensure_is_class => ::String, }, ], :applicationRuleId => LeafData[ :desc => "application rule Id the vip uses, this should be the name which will automatically get converted into an id", :olio => { :ensure_is_class => ::String, }, ], :defaultPoolId => LeafData[ :desc => "default pool the vip uses, this should be the name which will automatically get converted into an id", :olio => { :ensure_is_class => ::String, }, ], :enableServiceInsertion => LeafData[ :desc => "Whether or not service insertion is enabled on the vip uses", :valid_enum => [:true, :false], ], :accelerationEnabled => LeafData[ :desc => "Whether or not acceleration is enabled on the vip", :valid_enum => [:true, :false], ], }, } super end |