Class: PuppetX::VMware::MapperNsx::NsxEdgeLbAppRule
- Defined in:
- lib/puppet_x/vmware/mapper_nsx/nsx_edge_lb_app_rule.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 ⇒ NsxEdgeLbAppRule
constructor
A new instance of NsxEdgeLbAppRule.
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 ⇒ NsxEdgeLbAppRule
Returns a new instance of NsxEdgeLbAppRule.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/puppet_x/vmware/mapper_nsx/nsx_edge_lb_app_rule.rb', line 8 def initialize @initTree = { :applicationRule => { 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', ], :applicationRuleId => LeafData[ :desc => "should not be specified in the manifest, used internally", ], :'name' => LeafData[ :prop_name => 'name', ], :script => LeafData[ :desc => "custom script", ], }, # end :applicationRule } super end |