vsphere-automation-vapi 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (330) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +20 -0
  3. data/lib/vsphere-automation-vapi/version.rb +1 -1
  4. metadata +8 -491
  5. data/Gemfile +0 -14
  6. data/Gemfile.lock +0 -86
  7. data/README.md +0 -240
  8. data/Rakefile +0 -18
  9. data/docs/MetadataAuthenticationComponentApi.md +0 -157
  10. data/docs/MetadataAuthenticationPackageApi.md +0 -106
  11. data/docs/MetadataAuthenticationServiceApi.md +0 -106
  12. data/docs/MetadataAuthenticationServiceOperationApi.md +0 -112
  13. data/docs/MetadataCliCommandApi.md +0 -159
  14. data/docs/MetadataCliNamespaceApi.md +0 -153
  15. data/docs/MetadataMetamodelComponentApi.md +0 -157
  16. data/docs/MetadataMetamodelEnumerationApi.md +0 -106
  17. data/docs/MetadataMetamodelPackageApi.md +0 -106
  18. data/docs/MetadataMetamodelResourceApi.md +0 -55
  19. data/docs/MetadataMetamodelResourceModelApi.md +0 -59
  20. data/docs/MetadataMetamodelServiceApi.md +0 -106
  21. data/docs/MetadataMetamodelServiceOperationApi.md +0 -112
  22. data/docs/MetadataMetamodelStructureApi.md +0 -106
  23. data/docs/MetadataPrivilegeComponentApi.md +0 -157
  24. data/docs/MetadataPrivilegePackageApi.md +0 -106
  25. data/docs/MetadataPrivilegeServiceApi.md +0 -106
  26. data/docs/MetadataPrivilegeServiceOperationApi.md +0 -112
  27. data/docs/RestNavigationComponentApi.md +0 -61
  28. data/docs/RestNavigationOptionsApi.md +0 -59
  29. data/docs/RestNavigationResourceApi.md +0 -118
  30. data/docs/RestNavigationRootApi.md +0 -61
  31. data/docs/RestNavigationServiceApi.md +0 -63
  32. data/docs/VapiMetadataAuthenticationAuthenticationInfo.md +0 -10
  33. data/docs/VapiMetadataAuthenticationAuthenticationInfoSchemeType.md +0 -7
  34. data/docs/VapiMetadataAuthenticationComponentData.md +0 -9
  35. data/docs/VapiMetadataAuthenticationComponentFingerprintResult.md +0 -8
  36. data/docs/VapiMetadataAuthenticationComponentInfo.md +0 -8
  37. data/docs/VapiMetadataAuthenticationComponentInfoPackages.md +0 -9
  38. data/docs/VapiMetadataAuthenticationComponentListResult.md +0 -8
  39. data/docs/VapiMetadataAuthenticationComponentResult.md +0 -8
  40. data/docs/VapiMetadataAuthenticationOperationInfo.md +0 -8
  41. data/docs/VapiMetadataAuthenticationPackageInfo.md +0 -9
  42. data/docs/VapiMetadataAuthenticationPackageInfoServices.md +0 -9
  43. data/docs/VapiMetadataAuthenticationPackageListResult.md +0 -8
  44. data/docs/VapiMetadataAuthenticationPackageResult.md +0 -8
  45. data/docs/VapiMetadataAuthenticationServiceInfo.md +0 -9
  46. data/docs/VapiMetadataAuthenticationServiceInfoOperations.md +0 -9
  47. data/docs/VapiMetadataAuthenticationServiceListResult.md +0 -8
  48. data/docs/VapiMetadataAuthenticationServiceOperationGet.md +0 -8
  49. data/docs/VapiMetadataAuthenticationServiceOperationListResult.md +0 -8
  50. data/docs/VapiMetadataAuthenticationServiceOperationResult.md +0 -8
  51. data/docs/VapiMetadataAuthenticationServiceResult.md +0 -8
  52. data/docs/VapiMetadataCliCommandFingerprintResult.md +0 -8
  53. data/docs/VapiMetadataCliCommandFormatterType.md +0 -7
  54. data/docs/VapiMetadataCliCommandGenericType.md +0 -7
  55. data/docs/VapiMetadataCliCommandGet.md +0 -8
  56. data/docs/VapiMetadataCliCommandIdentity.md +0 -9
  57. data/docs/VapiMetadataCliCommandInfo.md +0 -14
  58. data/docs/VapiMetadataCliCommandListResult.md +0 -8
  59. data/docs/VapiMetadataCliCommandOptionInfo.md +0 -13
  60. data/docs/VapiMetadataCliCommandOutputFieldInfo.md +0 -9
  61. data/docs/VapiMetadataCliCommandOutputInfo.md +0 -9
  62. data/docs/VapiMetadataCliCommandResult.md +0 -8
  63. data/docs/VapiMetadataCliNamespaceFingerprintResult.md +0 -8
  64. data/docs/VapiMetadataCliNamespaceGet.md +0 -8
  65. data/docs/VapiMetadataCliNamespaceIdentity.md +0 -9
  66. data/docs/VapiMetadataCliNamespaceInfo.md +0 -10
  67. data/docs/VapiMetadataCliNamespaceListResult.md +0 -8
  68. data/docs/VapiMetadataCliNamespaceResult.md +0 -8
  69. data/docs/VapiMetadataMetamodelComponentData.md +0 -9
  70. data/docs/VapiMetadataMetamodelComponentFingerprintResult.md +0 -8
  71. data/docs/VapiMetadataMetamodelComponentInfo.md +0 -11
  72. data/docs/VapiMetadataMetamodelComponentInfoMetadata.md +0 -9
  73. data/docs/VapiMetadataMetamodelComponentInfoPackages.md +0 -9
  74. data/docs/VapiMetadataMetamodelComponentListResult.md +0 -8
  75. data/docs/VapiMetadataMetamodelComponentResult.md +0 -8
  76. data/docs/VapiMetadataMetamodelConstantInfo.md +0 -10
  77. data/docs/VapiMetadataMetamodelConstantValue.md +0 -10
  78. data/docs/VapiMetadataMetamodelConstantValueCategory.md +0 -7
  79. data/docs/VapiMetadataMetamodelElementMap.md +0 -8
  80. data/docs/VapiMetadataMetamodelElementMapElements.md +0 -9
  81. data/docs/VapiMetadataMetamodelElementValue.md +0 -13
  82. data/docs/VapiMetadataMetamodelElementValueType.md +0 -7
  83. data/docs/VapiMetadataMetamodelEnumerationInfo.md +0 -11
  84. data/docs/VapiMetadataMetamodelEnumerationListResult.md +0 -8
  85. data/docs/VapiMetadataMetamodelEnumerationResult.md +0 -8
  86. data/docs/VapiMetadataMetamodelEnumerationValueInfo.md +0 -10
  87. data/docs/VapiMetadataMetamodelErrorInfo.md +0 -9
  88. data/docs/VapiMetadataMetamodelFieldInfo.md +0 -11
  89. data/docs/VapiMetadataMetamodelGenericInstantiation.md +0 -11
  90. data/docs/VapiMetadataMetamodelGenericInstantiationGenericType.md +0 -7
  91. data/docs/VapiMetadataMetamodelOperationInfo.md +0 -13
  92. data/docs/VapiMetadataMetamodelOperationResultInfo.md +0 -10
  93. data/docs/VapiMetadataMetamodelPackageInfo.md +0 -13
  94. data/docs/VapiMetadataMetamodelPackageInfoEnumerations.md +0 -9
  95. data/docs/VapiMetadataMetamodelPackageInfoServices.md +0 -9
  96. data/docs/VapiMetadataMetamodelPackageInfoStructures.md +0 -9
  97. data/docs/VapiMetadataMetamodelPackageListResult.md +0 -8
  98. data/docs/VapiMetadataMetamodelPackageResult.md +0 -8
  99. data/docs/VapiMetadataMetamodelPrimitiveValue.md +0 -12
  100. data/docs/VapiMetadataMetamodelPrimitiveValueType.md +0 -7
  101. data/docs/VapiMetadataMetamodelResourceListResult.md +0 -8
  102. data/docs/VapiMetadataMetamodelResourceModelListResult.md +0 -8
  103. data/docs/VapiMetadataMetamodelServiceInfo.md +0 -14
  104. data/docs/VapiMetadataMetamodelServiceInfoConstants.md +0 -9
  105. data/docs/VapiMetadataMetamodelServiceInfoOperations.md +0 -9
  106. data/docs/VapiMetadataMetamodelServiceListResult.md +0 -8
  107. data/docs/VapiMetadataMetamodelServiceOperationListResult.md +0 -8
  108. data/docs/VapiMetadataMetamodelServiceOperationResult.md +0 -8
  109. data/docs/VapiMetadataMetamodelServiceResult.md +0 -8
  110. data/docs/VapiMetadataMetamodelStructureInfo.md +0 -14
  111. data/docs/VapiMetadataMetamodelStructureInfoType.md +0 -7
  112. data/docs/VapiMetadataMetamodelStructureListResult.md +0 -8
  113. data/docs/VapiMetadataMetamodelStructureResult.md +0 -8
  114. data/docs/VapiMetadataMetamodelType.md +0 -11
  115. data/docs/VapiMetadataMetamodelTypeBuiltinType.md +0 -7
  116. data/docs/VapiMetadataMetamodelTypeCategory.md +0 -7
  117. data/docs/VapiMetadataMetamodelUserDefinedType.md +0 -9
  118. data/docs/VapiMetadataPrivilegeComponentData.md +0 -9
  119. data/docs/VapiMetadataPrivilegeComponentFingerprintResult.md +0 -8
  120. data/docs/VapiMetadataPrivilegeComponentInfo.md +0 -8
  121. data/docs/VapiMetadataPrivilegeComponentInfoPackages.md +0 -9
  122. data/docs/VapiMetadataPrivilegeComponentListResult.md +0 -8
  123. data/docs/VapiMetadataPrivilegeComponentResult.md +0 -8
  124. data/docs/VapiMetadataPrivilegeOperationInfo.md +0 -9
  125. data/docs/VapiMetadataPrivilegePackageInfo.md +0 -9
  126. data/docs/VapiMetadataPrivilegePackageInfoServices.md +0 -9
  127. data/docs/VapiMetadataPrivilegePackageListResult.md +0 -8
  128. data/docs/VapiMetadataPrivilegePackageResult.md +0 -8
  129. data/docs/VapiMetadataPrivilegePrivilegeInfo.md +0 -9
  130. data/docs/VapiMetadataPrivilegeServiceInfo.md +0 -8
  131. data/docs/VapiMetadataPrivilegeServiceInfoOperations.md +0 -9
  132. data/docs/VapiMetadataPrivilegeServiceListResult.md +0 -8
  133. data/docs/VapiMetadataPrivilegeServiceOperationGet.md +0 -8
  134. data/docs/VapiMetadataPrivilegeServiceOperationListResult.md +0 -8
  135. data/docs/VapiMetadataPrivilegeServiceOperationResult.md +0 -8
  136. data/docs/VapiMetadataPrivilegeServiceResult.md +0 -8
  137. data/docs/VapiRestNavigationComponentInfo.md +0 -10
  138. data/docs/VapiRestNavigationComponentListResult.md +0 -8
  139. data/docs/VapiRestNavigationHttpMethod.md +0 -7
  140. data/docs/VapiRestNavigationLink.md +0 -10
  141. data/docs/VapiRestNavigationOperation.md +0 -12
  142. data/docs/VapiRestNavigationOptionsGet.md +0 -9
  143. data/docs/VapiRestNavigationOptionsResult.md +0 -8
  144. data/docs/VapiRestNavigationReference.md +0 -9
  145. data/docs/VapiRestNavigationResourceInfo.md +0 -11
  146. data/docs/VapiRestNavigationResourceListResult.md +0 -8
  147. data/docs/VapiRestNavigationResourceResult.md +0 -8
  148. data/docs/VapiRestNavigationRootInfo.md +0 -9
  149. data/docs/VapiRestNavigationRootResult.md +0 -8
  150. data/docs/VapiRestNavigationServiceInfo.md +0 -12
  151. data/docs/VapiRestNavigationServiceListResult.md +0 -8
  152. data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
  153. data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
  154. data/docs/VapiStdErrorsNotFound.md +0 -9
  155. data/docs/VapiStdErrorsNotFoundError.md +0 -9
  156. data/docs/VapiStdErrorsServiceUnavailable.md +0 -9
  157. data/docs/VapiStdErrorsServiceUnavailableError.md +0 -9
  158. data/docs/VapiStdErrorsUnauthenticated.md +0 -9
  159. data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
  160. data/docs/VapiStdErrorsUnauthorized.md +0 -9
  161. data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
  162. data/docs/VapiStdLocalizableMessage.md +0 -10
  163. data/docs/VcenterActivationApi.md +0 -58
  164. data/git_push.sh +0 -55
  165. data/lib/vsphere-automation-vapi/api_client.rb +0 -260
  166. data/lib/vsphere-automation-vapi/api_error.rb +0 -34
  167. data/lib/vsphere-automation-vapi/configuration.rb +0 -212
  168. data/pkg/vsphere-automation-vapi-0.4.1.gem +0 -0
  169. data/pkg/vsphere-automation-vapi-0.4.2.gem +0 -0
  170. data/pkg/vsphere-automation-vapi-0.4.3.gem +0 -0
  171. data/pkg/vsphere-automation-vapi-0.4.4.gem +0 -0
  172. data/spec/api/metadata_authentication_component_api_spec.rb +0 -63
  173. data/spec/api/metadata_authentication_package_api_spec.rb +0 -52
  174. data/spec/api/metadata_authentication_service_api_spec.rb +0 -52
  175. data/spec/api/metadata_authentication_service_operation_api_spec.rb +0 -54
  176. data/spec/api/metadata_cli_command_api_spec.rb +0 -63
  177. data/spec/api/metadata_cli_namespace_api_spec.rb +0 -62
  178. data/spec/api/metadata_metamodel_component_api_spec.rb +0 -63
  179. data/spec/api/metadata_metamodel_enumeration_api_spec.rb +0 -52
  180. data/spec/api/metadata_metamodel_package_api_spec.rb +0 -52
  181. data/spec/api/metadata_metamodel_resource_api_spec.rb +0 -41
  182. data/spec/api/metadata_metamodel_resource_model_api_spec.rb +0 -42
  183. data/spec/api/metadata_metamodel_service_api_spec.rb +0 -52
  184. data/spec/api/metadata_metamodel_service_operation_api_spec.rb +0 -54
  185. data/spec/api/metadata_metamodel_structure_api_spec.rb +0 -52
  186. data/spec/api/metadata_privilege_component_api_spec.rb +0 -63
  187. data/spec/api/metadata_privilege_package_api_spec.rb +0 -52
  188. data/spec/api/metadata_privilege_service_api_spec.rb +0 -52
  189. data/spec/api/metadata_privilege_service_operation_api_spec.rb +0 -54
  190. data/spec/api/rest_navigation_component_api_spec.rb +0 -42
  191. data/spec/api/rest_navigation_options_api_spec.rb +0 -42
  192. data/spec/api/rest_navigation_resource_api_spec.rb +0 -55
  193. data/spec/api/rest_navigation_root_api_spec.rb +0 -42
  194. data/spec/api/rest_navigation_service_api_spec.rb +0 -43
  195. data/spec/api/vcenter_activation_api_spec.rb +0 -42
  196. data/spec/api_client_spec.rb +0 -248
  197. data/spec/configuration_spec.rb +0 -38
  198. data/spec/models/vapi_metadata_authentication_authentication_info_scheme_type_spec.rb +0 -31
  199. data/spec/models/vapi_metadata_authentication_authentication_info_spec.rb +0 -49
  200. data/spec/models/vapi_metadata_authentication_component_data_spec.rb +0 -43
  201. data/spec/models/vapi_metadata_authentication_component_fingerprint_result_spec.rb +0 -37
  202. data/spec/models/vapi_metadata_authentication_component_info_packages_spec.rb +0 -43
  203. data/spec/models/vapi_metadata_authentication_component_info_spec.rb +0 -37
  204. data/spec/models/vapi_metadata_authentication_component_list_result_spec.rb +0 -37
  205. data/spec/models/vapi_metadata_authentication_component_result_spec.rb +0 -37
  206. data/spec/models/vapi_metadata_authentication_operation_info_spec.rb +0 -37
  207. data/spec/models/vapi_metadata_authentication_package_info_services_spec.rb +0 -43
  208. data/spec/models/vapi_metadata_authentication_package_info_spec.rb +0 -43
  209. data/spec/models/vapi_metadata_authentication_package_list_result_spec.rb +0 -37
  210. data/spec/models/vapi_metadata_authentication_package_result_spec.rb +0 -37
  211. data/spec/models/vapi_metadata_authentication_service_info_operations_spec.rb +0 -43
  212. data/spec/models/vapi_metadata_authentication_service_info_spec.rb +0 -43
  213. data/spec/models/vapi_metadata_authentication_service_list_result_spec.rb +0 -37
  214. data/spec/models/vapi_metadata_authentication_service_operation_get_spec.rb +0 -37
  215. data/spec/models/vapi_metadata_authentication_service_operation_list_result_spec.rb +0 -37
  216. data/spec/models/vapi_metadata_authentication_service_operation_result_spec.rb +0 -37
  217. data/spec/models/vapi_metadata_authentication_service_result_spec.rb +0 -37
  218. data/spec/models/vapi_metadata_cli_command_fingerprint_result_spec.rb +0 -37
  219. data/spec/models/vapi_metadata_cli_command_formatter_type_spec.rb +0 -31
  220. data/spec/models/vapi_metadata_cli_command_generic_type_spec.rb +0 -31
  221. data/spec/models/vapi_metadata_cli_command_get_spec.rb +0 -37
  222. data/spec/models/vapi_metadata_cli_command_identity_spec.rb +0 -43
  223. data/spec/models/vapi_metadata_cli_command_info_spec.rb +0 -73
  224. data/spec/models/vapi_metadata_cli_command_list_result_spec.rb +0 -37
  225. data/spec/models/vapi_metadata_cli_command_option_info_spec.rb +0 -67
  226. data/spec/models/vapi_metadata_cli_command_output_field_info_spec.rb +0 -43
  227. data/spec/models/vapi_metadata_cli_command_output_info_spec.rb +0 -43
  228. data/spec/models/vapi_metadata_cli_command_result_spec.rb +0 -37
  229. data/spec/models/vapi_metadata_cli_namespace_fingerprint_result_spec.rb +0 -37
  230. data/spec/models/vapi_metadata_cli_namespace_get_spec.rb +0 -37
  231. data/spec/models/vapi_metadata_cli_namespace_identity_spec.rb +0 -43
  232. data/spec/models/vapi_metadata_cli_namespace_info_spec.rb +0 -49
  233. data/spec/models/vapi_metadata_cli_namespace_list_result_spec.rb +0 -37
  234. data/spec/models/vapi_metadata_cli_namespace_result_spec.rb +0 -37
  235. data/spec/models/vapi_metadata_metamodel_component_data_spec.rb +0 -43
  236. data/spec/models/vapi_metadata_metamodel_component_fingerprint_result_spec.rb +0 -37
  237. data/spec/models/vapi_metadata_metamodel_component_info_metadata_spec.rb +0 -43
  238. data/spec/models/vapi_metadata_metamodel_component_info_packages_spec.rb +0 -43
  239. data/spec/models/vapi_metadata_metamodel_component_info_spec.rb +0 -55
  240. data/spec/models/vapi_metadata_metamodel_component_list_result_spec.rb +0 -37
  241. data/spec/models/vapi_metadata_metamodel_component_result_spec.rb +0 -37
  242. data/spec/models/vapi_metadata_metamodel_constant_info_spec.rb +0 -49
  243. data/spec/models/vapi_metadata_metamodel_constant_value_category_spec.rb +0 -31
  244. data/spec/models/vapi_metadata_metamodel_constant_value_spec.rb +0 -49
  245. data/spec/models/vapi_metadata_metamodel_element_map_elements_spec.rb +0 -43
  246. data/spec/models/vapi_metadata_metamodel_element_map_spec.rb +0 -37
  247. data/spec/models/vapi_metadata_metamodel_element_value_spec.rb +0 -67
  248. data/spec/models/vapi_metadata_metamodel_element_value_type_spec.rb +0 -31
  249. data/spec/models/vapi_metadata_metamodel_enumeration_info_spec.rb +0 -55
  250. data/spec/models/vapi_metadata_metamodel_enumeration_list_result_spec.rb +0 -37
  251. data/spec/models/vapi_metadata_metamodel_enumeration_result_spec.rb +0 -37
  252. data/spec/models/vapi_metadata_metamodel_enumeration_value_info_spec.rb +0 -49
  253. data/spec/models/vapi_metadata_metamodel_error_info_spec.rb +0 -43
  254. data/spec/models/vapi_metadata_metamodel_field_info_spec.rb +0 -55
  255. data/spec/models/vapi_metadata_metamodel_generic_instantiation_generic_type_spec.rb +0 -31
  256. data/spec/models/vapi_metadata_metamodel_generic_instantiation_spec.rb +0 -55
  257. data/spec/models/vapi_metadata_metamodel_operation_info_spec.rb +0 -67
  258. data/spec/models/vapi_metadata_metamodel_operation_result_info_spec.rb +0 -49
  259. data/spec/models/vapi_metadata_metamodel_package_info_enumerations_spec.rb +0 -43
  260. data/spec/models/vapi_metadata_metamodel_package_info_services_spec.rb +0 -43
  261. data/spec/models/vapi_metadata_metamodel_package_info_spec.rb +0 -67
  262. data/spec/models/vapi_metadata_metamodel_package_info_structures_spec.rb +0 -43
  263. data/spec/models/vapi_metadata_metamodel_package_list_result_spec.rb +0 -37
  264. data/spec/models/vapi_metadata_metamodel_package_result_spec.rb +0 -37
  265. data/spec/models/vapi_metadata_metamodel_primitive_value_spec.rb +0 -61
  266. data/spec/models/vapi_metadata_metamodel_primitive_value_type_spec.rb +0 -31
  267. data/spec/models/vapi_metadata_metamodel_resource_list_result_spec.rb +0 -37
  268. data/spec/models/vapi_metadata_metamodel_resource_model_list_result_spec.rb +0 -37
  269. data/spec/models/vapi_metadata_metamodel_service_info_constants_spec.rb +0 -43
  270. data/spec/models/vapi_metadata_metamodel_service_info_operations_spec.rb +0 -43
  271. data/spec/models/vapi_metadata_metamodel_service_info_spec.rb +0 -73
  272. data/spec/models/vapi_metadata_metamodel_service_list_result_spec.rb +0 -37
  273. data/spec/models/vapi_metadata_metamodel_service_operation_list_result_spec.rb +0 -37
  274. data/spec/models/vapi_metadata_metamodel_service_operation_result_spec.rb +0 -37
  275. data/spec/models/vapi_metadata_metamodel_service_result_spec.rb +0 -37
  276. data/spec/models/vapi_metadata_metamodel_structure_info_spec.rb +0 -73
  277. data/spec/models/vapi_metadata_metamodel_structure_info_type_spec.rb +0 -31
  278. data/spec/models/vapi_metadata_metamodel_structure_list_result_spec.rb +0 -37
  279. data/spec/models/vapi_metadata_metamodel_structure_result_spec.rb +0 -37
  280. data/spec/models/vapi_metadata_metamodel_type_builtin_type_spec.rb +0 -31
  281. data/spec/models/vapi_metadata_metamodel_type_category_spec.rb +0 -31
  282. data/spec/models/vapi_metadata_metamodel_type_spec.rb +0 -55
  283. data/spec/models/vapi_metadata_metamodel_user_defined_type_spec.rb +0 -43
  284. data/spec/models/vapi_metadata_privilege_component_data_spec.rb +0 -43
  285. data/spec/models/vapi_metadata_privilege_component_fingerprint_result_spec.rb +0 -37
  286. data/spec/models/vapi_metadata_privilege_component_info_packages_spec.rb +0 -43
  287. data/spec/models/vapi_metadata_privilege_component_info_spec.rb +0 -37
  288. data/spec/models/vapi_metadata_privilege_component_list_result_spec.rb +0 -37
  289. data/spec/models/vapi_metadata_privilege_component_result_spec.rb +0 -37
  290. data/spec/models/vapi_metadata_privilege_operation_info_spec.rb +0 -43
  291. data/spec/models/vapi_metadata_privilege_package_info_services_spec.rb +0 -43
  292. data/spec/models/vapi_metadata_privilege_package_info_spec.rb +0 -43
  293. data/spec/models/vapi_metadata_privilege_package_list_result_spec.rb +0 -37
  294. data/spec/models/vapi_metadata_privilege_package_result_spec.rb +0 -37
  295. data/spec/models/vapi_metadata_privilege_privilege_info_spec.rb +0 -43
  296. data/spec/models/vapi_metadata_privilege_service_info_operations_spec.rb +0 -43
  297. data/spec/models/vapi_metadata_privilege_service_info_spec.rb +0 -37
  298. data/spec/models/vapi_metadata_privilege_service_list_result_spec.rb +0 -37
  299. data/spec/models/vapi_metadata_privilege_service_operation_get_spec.rb +0 -37
  300. data/spec/models/vapi_metadata_privilege_service_operation_list_result_spec.rb +0 -37
  301. data/spec/models/vapi_metadata_privilege_service_operation_result_spec.rb +0 -37
  302. data/spec/models/vapi_metadata_privilege_service_result_spec.rb +0 -37
  303. data/spec/models/vapi_rest_navigation_component_info_spec.rb +0 -49
  304. data/spec/models/vapi_rest_navigation_component_list_result_spec.rb +0 -37
  305. data/spec/models/vapi_rest_navigation_http_method_spec.rb +0 -31
  306. data/spec/models/vapi_rest_navigation_link_spec.rb +0 -49
  307. data/spec/models/vapi_rest_navigation_operation_spec.rb +0 -61
  308. data/spec/models/vapi_rest_navigation_options_get_spec.rb +0 -43
  309. data/spec/models/vapi_rest_navigation_options_result_spec.rb +0 -37
  310. data/spec/models/vapi_rest_navigation_reference_spec.rb +0 -43
  311. data/spec/models/vapi_rest_navigation_resource_info_spec.rb +0 -55
  312. data/spec/models/vapi_rest_navigation_resource_list_result_spec.rb +0 -37
  313. data/spec/models/vapi_rest_navigation_resource_result_spec.rb +0 -37
  314. data/spec/models/vapi_rest_navigation_root_info_spec.rb +0 -43
  315. data/spec/models/vapi_rest_navigation_root_result_spec.rb +0 -37
  316. data/spec/models/vapi_rest_navigation_service_info_spec.rb +0 -61
  317. data/spec/models/vapi_rest_navigation_service_list_result_spec.rb +0 -37
  318. data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
  319. data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
  320. data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
  321. data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
  322. data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +0 -43
  323. data/spec/models/vapi_std_errors_service_unavailable_spec.rb +0 -43
  324. data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
  325. data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
  326. data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
  327. data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
  328. data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
  329. data/spec/spec_helper.rb +0 -110
  330. data/vsphere-automation-vapi.gemspec +0 -40
@@ -1,55 +0,0 @@
1
- # VSphereAutomation::VAPI::MetadataMetamodelResourceApi
2
-
3
- All URIs are relative to *https://<vcenter>/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**list**](MetadataMetamodelResourceApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/resource | Returns the set of resource types present across all the service elements contained in all the package elements.
8
-
9
-
10
- # **list**
11
- > VapiMetadataMetamodelResourceListResult list
12
-
13
- Returns the set of resource types present across all the service elements contained in all the package elements.
14
-
15
- ### Example
16
- ```ruby
17
- # load the gem
18
- require 'vsphere-automation-vapi'
19
- # setup authorization
20
- VSphereAutomation::Configuration.new.tap do |config|
21
- # Configure API key authorization: api_key
22
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
23
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
24
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
25
- end
26
-
27
- api_instance = VSphereAutomation::VAPI::MetadataMetamodelResourceApi.new
28
-
29
- begin
30
- #Returns the set of resource types present across all the service elements contained in all the package elements.
31
- result = api_instance.list
32
- p result
33
- rescue VSphereAutomation::ApiError => e
34
- puts "Exception when calling MetadataMetamodelResourceApi->list: #{e}"
35
- end
36
- ```
37
-
38
- ### Parameters
39
- This endpoint does not need any parameter.
40
-
41
- ### Return type
42
-
43
- [**VapiMetadataMetamodelResourceListResult**](VapiMetadataMetamodelResourceListResult.md)
44
-
45
- ### Authorization
46
-
47
- [api_key](../README.md#api_key)
48
-
49
- ### HTTP request headers
50
-
51
- - **Content-Type**: Not defined
52
- - **Accept**: application/json
53
-
54
-
55
-
@@ -1,59 +0,0 @@
1
- # VSphereAutomation::VAPI::MetadataMetamodelResourceModelApi
2
-
3
- All URIs are relative to *https://<vcenter>/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**list**](MetadataMetamodelResourceModelApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/resource/model | Returns the set of identifiers for the structure elements that are models for the resource type corresponding to {@param.name resourceId}. <p> The {@link vapi.metadata.metamodel.Structure} {@term service} provides {@term operations} to retrieve more details about the structure elements corresponding to the identifiers returned by this {@term operation}.
8
-
9
-
10
- # **list**
11
- > VapiMetadataMetamodelResourceModelListResult list(resource_id)
12
-
13
- Returns the set of identifiers for the structure elements that are models for the resource type corresponding to {@param.name resourceId}. <p> The {@link vapi.metadata.metamodel.Structure} {@term service} provides {@term operations} to retrieve more details about the structure elements corresponding to the identifiers returned by this {@term operation}.
14
-
15
- ### Example
16
- ```ruby
17
- # load the gem
18
- require 'vsphere-automation-vapi'
19
- # setup authorization
20
- VSphereAutomation::Configuration.new.tap do |config|
21
- # Configure API key authorization: api_key
22
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
23
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
24
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
25
- end
26
-
27
- api_instance = VSphereAutomation::VAPI::MetadataMetamodelResourceModelApi.new
28
- resource_id = 'resource_id_example' # String | Identifier of the resource type.
29
-
30
- begin
31
- #Returns the set of identifiers for the structure elements that are models for the resource type corresponding to {@param.name resourceId}. <p> The {@link vapi.metadata.metamodel.Structure} {@term service} provides {@term operations} to retrieve more details about the structure elements corresponding to the identifiers returned by this {@term operation}.
32
- result = api_instance.list(resource_id)
33
- p result
34
- rescue VSphereAutomation::ApiError => e
35
- puts "Exception when calling MetadataMetamodelResourceModelApi->list: #{e}"
36
- end
37
- ```
38
-
39
- ### Parameters
40
-
41
- Name | Type | Description | Notes
42
- ------------- | ------------- | ------------- | -------------
43
- **resource_id** | **String**| Identifier of the resource type. |
44
-
45
- ### Return type
46
-
47
- [**VapiMetadataMetamodelResourceModelListResult**](VapiMetadataMetamodelResourceModelListResult.md)
48
-
49
- ### Authorization
50
-
51
- [api_key](../README.md#api_key)
52
-
53
- ### HTTP request headers
54
-
55
- - **Content-Type**: Not defined
56
- - **Accept**: application/json
57
-
58
-
59
-
@@ -1,106 +0,0 @@
1
- # VSphereAutomation::VAPI::MetadataMetamodelServiceApi
2
-
3
- All URIs are relative to *https://&lt;vcenter&gt;/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get**](MetadataMetamodelServiceApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/service/id:{service_id} | Retrieves information about the service element corresponding to {@param.name serviceId}. &lt;p&gt; The {@link ServiceInfo} contains the metamodel information for the operation elements, structure elements and enumeration elements contained in the service element.
8
- [**list**](MetadataMetamodelServiceApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/service | Returns the identifiers for the service elements that are currently registered with the infrastructure. &lt;p&gt; The list of service elements is an aggregate list of all the service elements contained in all the package elements.
9
-
10
-
11
- # **get**
12
- > VapiMetadataMetamodelServiceResult get(service_id)
13
-
14
- Retrieves information about the service element corresponding to {@param.name serviceId}. <p> The {@link ServiceInfo} contains the metamodel information for the operation elements, structure elements and enumeration elements contained in the service element.
15
-
16
- ### Example
17
- ```ruby
18
- # load the gem
19
- require 'vsphere-automation-vapi'
20
- # setup authorization
21
- VSphereAutomation::Configuration.new.tap do |config|
22
- # Configure API key authorization: api_key
23
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
24
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
25
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
26
- end
27
-
28
- api_instance = VSphereAutomation::VAPI::MetadataMetamodelServiceApi.new
29
- service_id = 'service_id_example' # String | Identifier of the service element.
30
-
31
- begin
32
- #Retrieves information about the service element corresponding to {@param.name serviceId}. <p> The {@link ServiceInfo} contains the metamodel information for the operation elements, structure elements and enumeration elements contained in the service element.
33
- result = api_instance.get(service_id)
34
- p result
35
- rescue VSphereAutomation::ApiError => e
36
- puts "Exception when calling MetadataMetamodelServiceApi->get: #{e}"
37
- end
38
- ```
39
-
40
- ### Parameters
41
-
42
- Name | Type | Description | Notes
43
- ------------- | ------------- | ------------- | -------------
44
- **service_id** | **String**| Identifier of the service element. |
45
-
46
- ### Return type
47
-
48
- [**VapiMetadataMetamodelServiceResult**](VapiMetadataMetamodelServiceResult.md)
49
-
50
- ### Authorization
51
-
52
- [api_key](../README.md#api_key)
53
-
54
- ### HTTP request headers
55
-
56
- - **Content-Type**: Not defined
57
- - **Accept**: application/json
58
-
59
-
60
-
61
- # **list**
62
- > VapiMetadataMetamodelServiceListResult list
63
-
64
- Returns the identifiers for the service elements that are currently registered with the infrastructure. <p> The list of service elements is an aggregate list of all the service elements contained in all the package elements.
65
-
66
- ### Example
67
- ```ruby
68
- # load the gem
69
- require 'vsphere-automation-vapi'
70
- # setup authorization
71
- VSphereAutomation::Configuration.new.tap do |config|
72
- # Configure API key authorization: api_key
73
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
74
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
75
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
76
- end
77
-
78
- api_instance = VSphereAutomation::VAPI::MetadataMetamodelServiceApi.new
79
-
80
- begin
81
- #Returns the identifiers for the service elements that are currently registered with the infrastructure. <p> The list of service elements is an aggregate list of all the service elements contained in all the package elements.
82
- result = api_instance.list
83
- p result
84
- rescue VSphereAutomation::ApiError => e
85
- puts "Exception when calling MetadataMetamodelServiceApi->list: #{e}"
86
- end
87
- ```
88
-
89
- ### Parameters
90
- This endpoint does not need any parameter.
91
-
92
- ### Return type
93
-
94
- [**VapiMetadataMetamodelServiceListResult**](VapiMetadataMetamodelServiceListResult.md)
95
-
96
- ### Authorization
97
-
98
- [api_key](../README.md#api_key)
99
-
100
- ### HTTP request headers
101
-
102
- - **Content-Type**: Not defined
103
- - **Accept**: application/json
104
-
105
-
106
-
@@ -1,112 +0,0 @@
1
- # VSphereAutomation::VAPI::MetadataMetamodelServiceOperationApi
2
-
3
- All URIs are relative to *https://&lt;vcenter&gt;/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get**](MetadataMetamodelServiceOperationApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/service/operation/id:{service_id}/id:{operation_id} | Retrieves the metamodel information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
8
- [**list**](MetadataMetamodelServiceOperationApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/service/operation | Returns the identifiers for the operation elements that are defined in the scope of {@param.name serviceId}.
9
-
10
-
11
- # **get**
12
- > VapiMetadataMetamodelServiceOperationResult get(service_id, operation_id)
13
-
14
- Retrieves the metamodel information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
15
-
16
- ### Example
17
- ```ruby
18
- # load the gem
19
- require 'vsphere-automation-vapi'
20
- # setup authorization
21
- VSphereAutomation::Configuration.new.tap do |config|
22
- # Configure API key authorization: api_key
23
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
24
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
25
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
26
- end
27
-
28
- api_instance = VSphereAutomation::VAPI::MetadataMetamodelServiceOperationApi.new
29
- service_id = 'service_id_example' # String | Identifier of the service element.
30
- operation_id = 'operation_id_example' # String | Identifier of the operation element.
31
-
32
- begin
33
- #Retrieves the metamodel information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
34
- result = api_instance.get(service_id, operation_id)
35
- p result
36
- rescue VSphereAutomation::ApiError => e
37
- puts "Exception when calling MetadataMetamodelServiceOperationApi->get: #{e}"
38
- end
39
- ```
40
-
41
- ### Parameters
42
-
43
- Name | Type | Description | Notes
44
- ------------- | ------------- | ------------- | -------------
45
- **service_id** | **String**| Identifier of the service element. |
46
- **operation_id** | **String**| Identifier of the operation element. |
47
-
48
- ### Return type
49
-
50
- [**VapiMetadataMetamodelServiceOperationResult**](VapiMetadataMetamodelServiceOperationResult.md)
51
-
52
- ### Authorization
53
-
54
- [api_key](../README.md#api_key)
55
-
56
- ### HTTP request headers
57
-
58
- - **Content-Type**: Not defined
59
- - **Accept**: application/json
60
-
61
-
62
-
63
- # **list**
64
- > VapiMetadataMetamodelServiceOperationListResult list(service_id)
65
-
66
- Returns the identifiers for the operation elements that are defined in the scope of {@param.name serviceId}.
67
-
68
- ### Example
69
- ```ruby
70
- # load the gem
71
- require 'vsphere-automation-vapi'
72
- # setup authorization
73
- VSphereAutomation::Configuration.new.tap do |config|
74
- # Configure API key authorization: api_key
75
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
76
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
77
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
78
- end
79
-
80
- api_instance = VSphereAutomation::VAPI::MetadataMetamodelServiceOperationApi.new
81
- service_id = 'service_id_example' # String | Identifier of the service element.
82
-
83
- begin
84
- #Returns the identifiers for the operation elements that are defined in the scope of {@param.name serviceId}.
85
- result = api_instance.list(service_id)
86
- p result
87
- rescue VSphereAutomation::ApiError => e
88
- puts "Exception when calling MetadataMetamodelServiceOperationApi->list: #{e}"
89
- end
90
- ```
91
-
92
- ### Parameters
93
-
94
- Name | Type | Description | Notes
95
- ------------- | ------------- | ------------- | -------------
96
- **service_id** | **String**| Identifier of the service element. |
97
-
98
- ### Return type
99
-
100
- [**VapiMetadataMetamodelServiceOperationListResult**](VapiMetadataMetamodelServiceOperationListResult.md)
101
-
102
- ### Authorization
103
-
104
- [api_key](../README.md#api_key)
105
-
106
- ### HTTP request headers
107
-
108
- - **Content-Type**: Not defined
109
- - **Accept**: application/json
110
-
111
-
112
-
@@ -1,106 +0,0 @@
1
- # VSphereAutomation::VAPI::MetadataMetamodelStructureApi
2
-
3
- All URIs are relative to *https://&lt;vcenter&gt;/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get**](MetadataMetamodelStructureApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/structure/id:{structure_id} | Retrieves information about the structure element corresponding to {@param.name structureId}. &lt;p&gt; The {@link StructureInfo} contains the metamodel information about the structure element. It contains information about all the field elements and enumeration elements contained in this structure element.
8
- [**list**](MetadataMetamodelStructureApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/structure | Returns the identifiers for the structure elements that are contained in all the package elements and service elements.
9
-
10
-
11
- # **get**
12
- > VapiMetadataMetamodelStructureResult get(structure_id)
13
-
14
- Retrieves information about the structure element corresponding to {@param.name structureId}. <p> The {@link StructureInfo} contains the metamodel information about the structure element. It contains information about all the field elements and enumeration elements contained in this structure element.
15
-
16
- ### Example
17
- ```ruby
18
- # load the gem
19
- require 'vsphere-automation-vapi'
20
- # setup authorization
21
- VSphereAutomation::Configuration.new.tap do |config|
22
- # Configure API key authorization: api_key
23
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
24
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
25
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
26
- end
27
-
28
- api_instance = VSphereAutomation::VAPI::MetadataMetamodelStructureApi.new
29
- structure_id = 'structure_id_example' # String | Identifier of the structure element.
30
-
31
- begin
32
- #Retrieves information about the structure element corresponding to {@param.name structureId}. <p> The {@link StructureInfo} contains the metamodel information about the structure element. It contains information about all the field elements and enumeration elements contained in this structure element.
33
- result = api_instance.get(structure_id)
34
- p result
35
- rescue VSphereAutomation::ApiError => e
36
- puts "Exception when calling MetadataMetamodelStructureApi->get: #{e}"
37
- end
38
- ```
39
-
40
- ### Parameters
41
-
42
- Name | Type | Description | Notes
43
- ------------- | ------------- | ------------- | -------------
44
- **structure_id** | **String**| Identifier of the structure element. |
45
-
46
- ### Return type
47
-
48
- [**VapiMetadataMetamodelStructureResult**](VapiMetadataMetamodelStructureResult.md)
49
-
50
- ### Authorization
51
-
52
- [api_key](../README.md#api_key)
53
-
54
- ### HTTP request headers
55
-
56
- - **Content-Type**: Not defined
57
- - **Accept**: application/json
58
-
59
-
60
-
61
- # **list**
62
- > VapiMetadataMetamodelStructureListResult list
63
-
64
- Returns the identifiers for the structure elements that are contained in all the package elements and service elements.
65
-
66
- ### Example
67
- ```ruby
68
- # load the gem
69
- require 'vsphere-automation-vapi'
70
- # setup authorization
71
- VSphereAutomation::Configuration.new.tap do |config|
72
- # Configure API key authorization: api_key
73
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
74
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
75
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
76
- end
77
-
78
- api_instance = VSphereAutomation::VAPI::MetadataMetamodelStructureApi.new
79
-
80
- begin
81
- #Returns the identifiers for the structure elements that are contained in all the package elements and service elements.
82
- result = api_instance.list
83
- p result
84
- rescue VSphereAutomation::ApiError => e
85
- puts "Exception when calling MetadataMetamodelStructureApi->list: #{e}"
86
- end
87
- ```
88
-
89
- ### Parameters
90
- This endpoint does not need any parameter.
91
-
92
- ### Return type
93
-
94
- [**VapiMetadataMetamodelStructureListResult**](VapiMetadataMetamodelStructureListResult.md)
95
-
96
- ### Authorization
97
-
98
- [api_key](../README.md#api_key)
99
-
100
- ### HTTP request headers
101
-
102
- - **Content-Type**: Not defined
103
- - **Accept**: application/json
104
-
105
-
106
-
@@ -1,157 +0,0 @@
1
- # VSphereAutomation::VAPI::MetadataPrivilegeComponentApi
2
-
3
- All URIs are relative to *https://&lt;vcenter&gt;/rest*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**fingerprint**](MetadataPrivilegeComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/privilege/component/id:{component_id}?~action&#x3D;fingerprint | Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to {@param.name componentId}. &lt;p&gt; The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.privilege.Component#get}.
8
- [**get**](MetadataPrivilegeComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/privilege/component/id:{component_id} | Retrieves privilege information about the component element corresponding to {@param.name componentId}. &lt;p&gt; The {@link ComponentData} contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
9
- [**list**](MetadataPrivilegeComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/component | Returns the identifiers for the component elements that have privilege information.
10
-
11
-
12
- # **fingerprint**
13
- > VapiMetadataPrivilegeComponentFingerprintResult fingerprint(component_id)
14
-
15
- Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.privilege.Component#get}.
16
-
17
- ### Example
18
- ```ruby
19
- # load the gem
20
- require 'vsphere-automation-vapi'
21
- # setup authorization
22
- VSphereAutomation::Configuration.new.tap do |config|
23
- # Configure API key authorization: api_key
24
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
25
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
27
- end
28
-
29
- api_instance = VSphereAutomation::VAPI::MetadataPrivilegeComponentApi.new
30
- component_id = 'component_id_example' # String | Identifier of the component element.
31
-
32
- begin
33
- #Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.privilege.Component#get}.
34
- result = api_instance.fingerprint(component_id)
35
- p result
36
- rescue VSphereAutomation::ApiError => e
37
- puts "Exception when calling MetadataPrivilegeComponentApi->fingerprint: #{e}"
38
- end
39
- ```
40
-
41
- ### Parameters
42
-
43
- Name | Type | Description | Notes
44
- ------------- | ------------- | ------------- | -------------
45
- **component_id** | **String**| Identifier of the component element. |
46
-
47
- ### Return type
48
-
49
- [**VapiMetadataPrivilegeComponentFingerprintResult**](VapiMetadataPrivilegeComponentFingerprintResult.md)
50
-
51
- ### Authorization
52
-
53
- [api_key](../README.md#api_key)
54
-
55
- ### HTTP request headers
56
-
57
- - **Content-Type**: Not defined
58
- - **Accept**: application/json
59
-
60
-
61
-
62
- # **get**
63
- > VapiMetadataPrivilegeComponentResult get(component_id)
64
-
65
- Retrieves privilege information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
66
-
67
- ### Example
68
- ```ruby
69
- # load the gem
70
- require 'vsphere-automation-vapi'
71
- # setup authorization
72
- VSphereAutomation::Configuration.new.tap do |config|
73
- # Configure API key authorization: api_key
74
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
75
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
76
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
77
- end
78
-
79
- api_instance = VSphereAutomation::VAPI::MetadataPrivilegeComponentApi.new
80
- component_id = 'component_id_example' # String | Identifier of the component element.
81
-
82
- begin
83
- #Retrieves privilege information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
84
- result = api_instance.get(component_id)
85
- p result
86
- rescue VSphereAutomation::ApiError => e
87
- puts "Exception when calling MetadataPrivilegeComponentApi->get: #{e}"
88
- end
89
- ```
90
-
91
- ### Parameters
92
-
93
- Name | Type | Description | Notes
94
- ------------- | ------------- | ------------- | -------------
95
- **component_id** | **String**| Identifier of the component element. |
96
-
97
- ### Return type
98
-
99
- [**VapiMetadataPrivilegeComponentResult**](VapiMetadataPrivilegeComponentResult.md)
100
-
101
- ### Authorization
102
-
103
- [api_key](../README.md#api_key)
104
-
105
- ### HTTP request headers
106
-
107
- - **Content-Type**: Not defined
108
- - **Accept**: application/json
109
-
110
-
111
-
112
- # **list**
113
- > VapiMetadataPrivilegeComponentListResult list
114
-
115
- Returns the identifiers for the component elements that have privilege information.
116
-
117
- ### Example
118
- ```ruby
119
- # load the gem
120
- require 'vsphere-automation-vapi'
121
- # setup authorization
122
- VSphereAutomation::Configuration.new.tap do |config|
123
- # Configure API key authorization: api_key
124
- config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
125
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
126
- #config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
127
- end
128
-
129
- api_instance = VSphereAutomation::VAPI::MetadataPrivilegeComponentApi.new
130
-
131
- begin
132
- #Returns the identifiers for the component elements that have privilege information.
133
- result = api_instance.list
134
- p result
135
- rescue VSphereAutomation::ApiError => e
136
- puts "Exception when calling MetadataPrivilegeComponentApi->list: #{e}"
137
- end
138
- ```
139
-
140
- ### Parameters
141
- This endpoint does not need any parameter.
142
-
143
- ### Return type
144
-
145
- [**VapiMetadataPrivilegeComponentListResult**](VapiMetadataPrivilegeComponentListResult.md)
146
-
147
- ### Authorization
148
-
149
- [api_key](../README.md#api_key)
150
-
151
- ### HTTP request headers
152
-
153
- - **Content-Type**: Not defined
154
- - **Accept**: application/json
155
-
156
-
157
-