Class: PuppetX::VMware::MapperNsx::NsxEdgeLbAppProfile
- Defined in:
- lib/puppet_x/vmware/mapper_nsx/nsx_edge_lb_app_profile.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 ⇒ NsxEdgeLbAppProfile
constructor
A new instance of NsxEdgeLbAppProfile.
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 ⇒ NsxEdgeLbAppProfile
Returns a new instance of NsxEdgeLbAppProfile.
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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/puppet_x/vmware/mapper_nsx/nsx_edge_lb_app_profile.rb', line 8 def initialize @initTree = { :applicationProfile => { 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', ], :applicationProfileId => LeafData[ ], :'name' => LeafData[ :prop_name => 'name', ], :template => LeafData[ :desc => "Whether or not ssl is enabled", :valid_enum => [:TCP, :HTTP, :HTTPS], ], :serverSslEnabled => LeafData[ :desc => "Whether or not Pool Side ssl is enabled", :valid_enum => [:true, :false], ], :insertXForwardedFor => LeafData[ :desc => "Whether or not XforwardedFor header is inserted", :valid_enum => [:true, :false], ], :sslPassthrough => LeafData[ :desc => "Whether or not sslpassthrough is enabled", :valid_enum => [:true, :false], ], :httpRedirect => { Node => NodeData[ :node_type => 'REST', ], :to => LeafData[ :desc => "Redirect uri", :olio => { :ensure_is_class => ::String, }, ], }, # optional :clientSsl => { Node => NodeData[ :node_type => 'REST', ], :clientAuth => LeafData[ :desc => "clientAuth Settings, valid values are: ignore/required", :olio => { :ensure_is_class => ::String, }, :valid_enum => [:ignore, :required], ], :ciphers => LeafData[ :desc => "Redirect uri", :olio => { :ensure_is_class => ::String, }, ], :serviceCertificate => LeafData[ :desc => "this is the common name of the certificate that was uploaded", :olio => { :ensure_is_class => ::String, }, ], :caCertificate => LeafData[ :desc => "caCertificate", :olio => { :ensure_is_class => ::Array, }, ], :crlCertificate => LeafData[ :desc => "crlCertificate", :olio => { :ensure_is_class => ::Array, }, ], }, # optional :serverSsl => { Node => NodeData[ :node_type => 'REST', ], :ciphers => LeafData[ :desc => "Redirect uri", :olio => { :ensure_is_class => ::String, }, ], :serviceCertificate => LeafData[ :desc => "this is the common name of the certificate that was uploaded", :olio => { :ensure_is_class => ::String, }, ], :caCertificate => LeafData[ :desc => "caCertificate", :olio => { :ensure_is_class => ::Array, }, ], :crlCertificate => LeafData[ :desc => "crlCertificate", :olio => { :ensure_is_class => ::Array, }, ], }, :persistence => { Node => NodeData[ :node_type => 'REST', ], :method => LeafData[ :desc => "persistence method, possible values are: cookie/ssl_sessionid/sourceip/msrdp", :valid_enum => [:cookie, :ssl_sessionid, :sourceip, :msrdp], ], :cookieName => LeafData[ :desc => "name of the cookie inserted", :olio => { :ensure_is_class => ::String, }, :requires_siblings=> [ :method, :cookieMode, ], ], :cookieMode => LeafData[ :desc => "cookie mode, valid modes are: insert/prefix/app", :valid_enum => [:insert, :prefix, :app ], :requires_siblings => [ :cookieName, :method, ], ], }, }, } super end |