vsphere-automation-vapi 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +12 -1
- data/Gemfile.lock +57 -44
- data/README.md +22 -13
- data/Rakefile +8 -0
- data/docs/MetadataAuthenticationComponentApi.md +32 -9
- data/docs/MetadataAuthenticationPackageApi.md +18 -4
- data/docs/MetadataAuthenticationServiceApi.md +18 -4
- data/docs/MetadataAuthenticationServiceOperationApi.md +25 -9
- data/docs/MetadataCliCommandApi.md +34 -11
- data/docs/MetadataCliNamespaceApi.md +39 -14
- data/docs/MetadataMetamodelComponentApi.md +32 -9
- data/docs/MetadataMetamodelEnumerationApi.md +18 -4
- data/docs/MetadataMetamodelPackageApi.md +18 -4
- data/docs/MetadataMetamodelResourceApi.md +9 -2
- data/docs/MetadataMetamodelResourceModelApi.md +9 -2
- data/docs/MetadataMetamodelServiceApi.md +18 -4
- data/docs/MetadataMetamodelServiceOperationApi.md +18 -4
- data/docs/MetadataMetamodelStructureApi.md +18 -4
- data/docs/MetadataPrivilegeComponentApi.md +32 -9
- data/docs/MetadataPrivilegePackageApi.md +18 -4
- data/docs/MetadataPrivilegeServiceApi.md +18 -4
- data/docs/MetadataPrivilegeServiceOperationApi.md +25 -9
- data/docs/RestNavigationComponentApi.md +9 -2
- data/docs/RestNavigationOptionsApi.md +16 -7
- data/docs/RestNavigationResourceApi.md +18 -4
- data/docs/RestNavigationRootApi.md +9 -2
- data/docs/RestNavigationServiceApi.md +9 -2
- data/docs/VapiMetadataAuthenticationComponentInfoPackages.md +1 -1
- data/docs/VapiMetadataAuthenticationPackageInfoServices.md +1 -1
- data/docs/VapiMetadataAuthenticationServiceInfoOperations.md +1 -1
- data/docs/{VapiMetadataMetamodelEnumerationValueInfoMetadata.md → VapiMetadataMetamodelComponentInfoMetadata.md} +2 -2
- data/docs/VapiMetadataMetamodelComponentInfoPackages.md +1 -1
- data/docs/VapiMetadataMetamodelElementMapElements.md +1 -1
- data/docs/VapiMetadataMetamodelPackageInfoEnumerations.md +1 -1
- data/docs/VapiMetadataMetamodelPackageInfoServices.md +1 -1
- data/docs/VapiMetadataMetamodelPackageInfoStructures.md +1 -1
- data/docs/VapiMetadataMetamodelPrimitiveValue.md +1 -1
- data/docs/{VapiMetadataMetamodelStructureInfoConstants.md → VapiMetadataMetamodelServiceInfoConstants.md} +2 -2
- data/docs/VapiMetadataMetamodelServiceInfoOperations.md +1 -1
- data/docs/VapiMetadataPrivilegeComponentInfoPackages.md +1 -1
- data/docs/VapiMetadataPrivilegePackageInfoServices.md +1 -1
- data/docs/VapiMetadataPrivilegeServiceInfoOperations.md +1 -1
- data/docs/VcenterActivationApi.md +14 -5
- data/lib/vsphere-automation-vapi.rb +9 -11
- data/lib/vsphere-automation-vapi/api/metadata_authentication_component_api.rb +25 -16
- data/lib/vsphere-automation-vapi/api/metadata_authentication_package_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_authentication_service_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_authentication_service_operation_api.rb +29 -20
- data/lib/vsphere-automation-vapi/api/metadata_cli_command_api.rb +31 -22
- data/lib/vsphere-automation-vapi/api/metadata_cli_namespace_api.rb +34 -25
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_component_api.rb +25 -16
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_enumeration_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_package_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_resource_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_resource_model_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_service_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_service_operation_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_structure_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_privilege_component_api.rb +25 -16
- data/lib/vsphere-automation-vapi/api/metadata_privilege_package_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_privilege_service_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/metadata_privilege_service_operation_api.rb +29 -20
- data/lib/vsphere-automation-vapi/api/rest_navigation_component_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/rest_navigation_options_api.rb +27 -18
- data/lib/vsphere-automation-vapi/api/rest_navigation_resource_api.rb +8 -10
- data/lib/vsphere-automation-vapi/api/rest_navigation_root_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/rest_navigation_service_api.rb +6 -8
- data/lib/vsphere-automation-vapi/api/vcenter_activation_api.rb +21 -12
- data/lib/vsphere-automation-vapi/api_client.rb +9 -5
- data/lib/vsphere-automation-vapi/api_error.rb +4 -6
- data/lib/vsphere-automation-vapi/configuration.rb +18 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_authentication_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_authentication_info_scheme_type.rb +6 -8
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_data.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_info_packages.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_operation_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_info_services.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_info_operations.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_operation_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_operation_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_operation_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_formatter_type.rb +10 -12
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_generic_type.rb +9 -11
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_identity.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_option_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_output_field_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_output_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_command_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_identity.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_cli_namespace_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_data.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/{vapi_metadata_metamodel_enumeration_value_info_metadata.rb → vapi_metadata_metamodel_component_info_metadata.rb} +18 -20
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_info_packages.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_constant_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_constant_value.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_constant_value_category.rb +6 -8
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_map.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_map_elements.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_value.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_value_type.rb +9 -11
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_value_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_error_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_field_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_generic_instantiation.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_generic_instantiation_generic_type.rb +8 -10
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_operation_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_operation_result_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info_enumerations.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info_services.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info_structures.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_primitive_value.rb +5 -7
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_primitive_value_type.rb +8 -10
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_resource_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_resource_model_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/{vapi_metadata_metamodel_structure_info_constants.rb → vapi_metadata_metamodel_service_info_constants.rb} +18 -20
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_info_operations.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_operation_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_operation_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_info_type.rb +6 -8
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_type.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_type_builtin_type.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_type_category.rb +7 -9
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_user_defined_type.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_data.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_fingerprint_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_info_packages.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_operation_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_info_services.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_privilege_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_info_operations.rb +17 -19
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_operation_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_operation_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_operation_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_component_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_component_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_http_method.rb +13 -15
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_link.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_operation.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_options_get.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_options_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_reference.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_resource_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_resource_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_resource_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_root_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_root_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_service_info.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_rest_navigation_service_list_result.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_allowed_in_current_state.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_allowed_in_current_state_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_found.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_not_found_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_service_unavailable.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_service_unavailable_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthenticated.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthenticated_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthorized.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_errors_unauthorized_error.rb +4 -6
- data/lib/vsphere-automation-vapi/models/vapi_std_localizable_message.rb +4 -6
- data/lib/vsphere-automation-vapi/version.rb +5 -7
- data/spec/api/metadata_authentication_component_api_spec.rb +5 -6
- data/spec/api/metadata_authentication_package_api_spec.rb +4 -6
- data/spec/api/metadata_authentication_service_api_spec.rb +4 -6
- data/spec/api/metadata_authentication_service_operation_api_spec.rb +6 -7
- data/spec/api/metadata_cli_command_api_spec.rb +6 -7
- data/spec/api/metadata_cli_namespace_api_spec.rb +6 -7
- data/spec/api/metadata_metamodel_component_api_spec.rb +5 -6
- data/spec/api/metadata_metamodel_enumeration_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_package_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_resource_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_resource_model_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_service_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_service_operation_api_spec.rb +4 -6
- data/spec/api/metadata_metamodel_structure_api_spec.rb +4 -6
- data/spec/api/metadata_privilege_component_api_spec.rb +5 -6
- data/spec/api/metadata_privilege_package_api_spec.rb +4 -6
- data/spec/api/metadata_privilege_service_api_spec.rb +4 -6
- data/spec/api/metadata_privilege_service_operation_api_spec.rb +6 -7
- data/spec/api/rest_navigation_component_api_spec.rb +4 -6
- data/spec/api/rest_navigation_options_api_spec.rb +6 -7
- data/spec/api/rest_navigation_resource_api_spec.rb +4 -6
- data/spec/api/rest_navigation_root_api_spec.rb +4 -6
- data/spec/api/rest_navigation_service_api_spec.rb +4 -6
- data/spec/api/vcenter_activation_api_spec.rb +5 -6
- data/spec/api_client_spec.rb +4 -6
- data/spec/configuration_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_authentication_info_scheme_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_authentication_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_data_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_fingerprint_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_info_packages_spec.rb +6 -8
- data/spec/models/vapi_metadata_authentication_component_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_component_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_operation_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_package_info_services_spec.rb +6 -8
- data/spec/models/vapi_metadata_authentication_package_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_package_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_package_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_info_operations_spec.rb +6 -8
- data/spec/models/vapi_metadata_authentication_service_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_operation_get_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_operation_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_operation_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_authentication_service_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_fingerprint_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_formatter_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_generic_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_get_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_identity_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_option_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_output_field_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_output_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_command_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_fingerprint_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_get_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_identity_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_cli_namespace_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_component_data_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_component_fingerprint_result_spec.rb +4 -6
- data/spec/models/{vapi_metadata_metamodel_enumeration_value_info_metadata_spec.rb → vapi_metadata_metamodel_component_info_metadata_spec.rb} +12 -14
- data/spec/models/vapi_metadata_metamodel_component_info_packages_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_component_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_component_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_component_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_constant_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_constant_value_category_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_constant_value_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_element_map_elements_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_element_map_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_element_value_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_element_value_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_enumeration_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_enumeration_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_enumeration_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_enumeration_value_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_error_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_field_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_generic_instantiation_generic_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_generic_instantiation_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_operation_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_operation_result_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_package_info_enumerations_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_package_info_services_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_package_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_package_info_structures_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_package_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_package_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_primitive_value_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_primitive_value_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_resource_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_resource_model_list_result_spec.rb +4 -6
- data/spec/models/{vapi_metadata_metamodel_structure_info_constants_spec.rb → vapi_metadata_metamodel_service_info_constants_spec.rb} +12 -14
- data/spec/models/vapi_metadata_metamodel_service_info_operations_spec.rb +6 -8
- data/spec/models/vapi_metadata_metamodel_service_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_service_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_service_operation_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_service_operation_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_service_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_structure_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_structure_info_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_structure_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_structure_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_type_builtin_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_type_category_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_metamodel_user_defined_type_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_data_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_fingerprint_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_info_packages_spec.rb +6 -8
- data/spec/models/vapi_metadata_privilege_component_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_component_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_operation_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_package_info_services_spec.rb +6 -8
- data/spec/models/vapi_metadata_privilege_package_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_package_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_package_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_privilege_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_info_operations_spec.rb +6 -8
- data/spec/models/vapi_metadata_privilege_service_info_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_operation_get_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_operation_list_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_operation_result_spec.rb +4 -6
- data/spec/models/vapi_metadata_privilege_service_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_component_info_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_component_list_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_http_method_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_link_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_operation_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_options_get_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_options_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_reference_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_resource_info_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_resource_list_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_resource_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_root_info_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_root_result_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_service_info_spec.rb +4 -6
- data/spec/models/vapi_rest_navigation_service_list_result_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_found_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_not_found_spec.rb +4 -6
- data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_service_unavailable_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthenticated_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +4 -6
- data/spec/models/vapi_std_errors_unauthorized_spec.rb +4 -6
- data/spec/models/vapi_std_localizable_message_spec.rb +4 -6
- data/spec/spec_helper.rb +4 -6
- data/vsphere-automation-vapi.gemspec +11 -14
- metadata +26 -41
@@ -17,6 +17,13 @@ Retrieves authentication information about the service element corresponding to
|
|
17
17
|
```ruby
|
18
18
|
# load the gem
|
19
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
|
20
27
|
|
21
28
|
api_instance = VSphereAutomation::VAPI::MetadataAuthenticationServiceApi.new
|
22
29
|
service_id = 'service_id_example' # String | Identifier of the service element.
|
@@ -42,12 +49,12 @@ Name | Type | Description | Notes
|
|
42
49
|
|
43
50
|
### Authorization
|
44
51
|
|
45
|
-
|
52
|
+
[api_key](../README.md#api_key)
|
46
53
|
|
47
54
|
### HTTP request headers
|
48
55
|
|
49
56
|
- **Content-Type**: Not defined
|
50
|
-
- **Accept**:
|
57
|
+
- **Accept**: application/json
|
51
58
|
|
52
59
|
|
53
60
|
|
@@ -60,6 +67,13 @@ Returns the identifiers for the service elements that have authentication inform
|
|
60
67
|
```ruby
|
61
68
|
# load the gem
|
62
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
|
63
77
|
|
64
78
|
api_instance = VSphereAutomation::VAPI::MetadataAuthenticationServiceApi.new
|
65
79
|
|
@@ -81,12 +95,12 @@ This endpoint does not need any parameter.
|
|
81
95
|
|
82
96
|
### Authorization
|
83
97
|
|
84
|
-
|
98
|
+
[api_key](../README.md#api_key)
|
85
99
|
|
86
100
|
### HTTP request headers
|
87
101
|
|
88
102
|
- **Content-Type**: Not defined
|
89
|
-
- **Accept**:
|
103
|
+
- **Accept**: application/json
|
90
104
|
|
91
105
|
|
92
106
|
|
@@ -4,12 +4,12 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get**](MetadataAuthenticationServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/authentication/service/operation/id:{service_id}
|
7
|
+
[**get**](MetadataAuthenticationServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/authentication/service/operation/id:{service_id} | Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
8
8
|
[**list**](MetadataAuthenticationServiceOperationApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/service/operation | Returns the identifiers for the operation elements contained in the service element corresponding to {@param.name serviceId} that have authentication information.
|
9
9
|
|
10
10
|
|
11
11
|
# **get**
|
12
|
-
> VapiMetadataAuthenticationServiceOperationResult get(service_id,
|
12
|
+
> VapiMetadataAuthenticationServiceOperationResult get(service_id, action, request_body)
|
13
13
|
|
14
14
|
Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
15
15
|
|
@@ -17,14 +17,22 @@ Retrieves the authentication information about an operation element correspondin
|
|
17
17
|
```ruby
|
18
18
|
# load the gem
|
19
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
|
20
27
|
|
21
28
|
api_instance = VSphereAutomation::VAPI::MetadataAuthenticationServiceOperationApi.new
|
22
29
|
service_id = 'service_id_example' # String | Identifier of the service element.
|
23
|
-
|
30
|
+
action = 'action_example' # String | ~action=get
|
31
|
+
request_body = VAPI::VapiMetadataAuthenticationServiceOperationGet.new # VapiMetadataAuthenticationServiceOperationGet |
|
24
32
|
|
25
33
|
begin
|
26
34
|
#Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
27
|
-
result = api_instance.get(service_id,
|
35
|
+
result = api_instance.get(service_id, action, request_body)
|
28
36
|
p result
|
29
37
|
rescue VSphereAutomation::ApiError => e
|
30
38
|
puts "Exception when calling MetadataAuthenticationServiceOperationApi->get: #{e}"
|
@@ -36,7 +44,8 @@ end
|
|
36
44
|
Name | Type | Description | Notes
|
37
45
|
------------- | ------------- | ------------- | -------------
|
38
46
|
**service_id** | **String**| Identifier of the service element. |
|
39
|
-
**
|
47
|
+
**action** | **String**| ~action=get |
|
48
|
+
**request_body** | [**VapiMetadataAuthenticationServiceOperationGet**](VapiMetadataAuthenticationServiceOperationGet.md)| |
|
40
49
|
|
41
50
|
### Return type
|
42
51
|
|
@@ -44,12 +53,12 @@ Name | Type | Description | Notes
|
|
44
53
|
|
45
54
|
### Authorization
|
46
55
|
|
47
|
-
|
56
|
+
[api_key](../README.md#api_key)
|
48
57
|
|
49
58
|
### HTTP request headers
|
50
59
|
|
51
60
|
- **Content-Type**: application/json
|
52
|
-
- **Accept**:
|
61
|
+
- **Accept**: application/json
|
53
62
|
|
54
63
|
|
55
64
|
|
@@ -62,6 +71,13 @@ Returns the identifiers for the operation elements contained in the service elem
|
|
62
71
|
```ruby
|
63
72
|
# load the gem
|
64
73
|
require 'vsphere-automation-vapi'
|
74
|
+
# setup authorization
|
75
|
+
VSphereAutomation::Configuration.new.tap do |config|
|
76
|
+
# Configure API key authorization: api_key
|
77
|
+
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
78
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
79
|
+
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
80
|
+
end
|
65
81
|
|
66
82
|
api_instance = VSphereAutomation::VAPI::MetadataAuthenticationServiceOperationApi.new
|
67
83
|
service_id = 'service_id_example' # String | Identifier of the service element.
|
@@ -87,12 +103,12 @@ Name | Type | Description | Notes
|
|
87
103
|
|
88
104
|
### Authorization
|
89
105
|
|
90
|
-
|
106
|
+
[api_key](../README.md#api_key)
|
91
107
|
|
92
108
|
### HTTP request headers
|
93
109
|
|
94
110
|
- **Content-Type**: Not defined
|
95
|
-
- **Accept**:
|
111
|
+
- **Accept**: application/json
|
96
112
|
|
97
113
|
|
98
114
|
|
@@ -5,7 +5,7 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**fingerprint**](MetadataCliCommandApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/command?~action=fingerprint | Returns the aggregate fingerprint of all the command metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for commands has been modified on the server.
|
8
|
-
[**get**](MetadataCliCommandApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/command
|
8
|
+
[**get**](MetadataCliCommandApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/command | Retrieves information about a command including information about how to execute that command.
|
9
9
|
[**list**](MetadataCliCommandApi.md#list) | **GET** /com/vmware/vapi/metadata/cli/command | Returns the identifiers of all commands, or commands in a specific namespace.
|
10
10
|
|
11
11
|
|
@@ -18,6 +18,13 @@ Returns the aggregate fingerprint of all the command metadata from all the metad
|
|
18
18
|
```ruby
|
19
19
|
# load the gem
|
20
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
|
21
28
|
|
22
29
|
api_instance = VSphereAutomation::VAPI::MetadataCliCommandApi.new
|
23
30
|
|
@@ -39,17 +46,17 @@ This endpoint does not need any parameter.
|
|
39
46
|
|
40
47
|
### Authorization
|
41
48
|
|
42
|
-
|
49
|
+
[api_key](../README.md#api_key)
|
43
50
|
|
44
51
|
### HTTP request headers
|
45
52
|
|
46
53
|
- **Content-Type**: Not defined
|
47
|
-
- **Accept**:
|
54
|
+
- **Accept**: application/json
|
48
55
|
|
49
56
|
|
50
57
|
|
51
58
|
# **get**
|
52
|
-
> VapiMetadataCliCommandResult get(
|
59
|
+
> VapiMetadataCliCommandResult get(action, request_body)
|
53
60
|
|
54
61
|
Retrieves information about a command including information about how to execute that command.
|
55
62
|
|
@@ -57,13 +64,21 @@ Retrieves information about a command including information about how to execute
|
|
57
64
|
```ruby
|
58
65
|
# load the gem
|
59
66
|
require 'vsphere-automation-vapi'
|
67
|
+
# setup authorization
|
68
|
+
VSphereAutomation::Configuration.new.tap do |config|
|
69
|
+
# Configure API key authorization: api_key
|
70
|
+
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
71
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
72
|
+
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
73
|
+
end
|
60
74
|
|
61
75
|
api_instance = VSphereAutomation::VAPI::MetadataCliCommandApi.new
|
62
|
-
|
76
|
+
action = 'action_example' # String | ~action=get
|
77
|
+
request_body = VAPI::VapiMetadataCliCommandGet.new # VapiMetadataCliCommandGet |
|
63
78
|
|
64
79
|
begin
|
65
80
|
#Retrieves information about a command including information about how to execute that command.
|
66
|
-
result = api_instance.get(
|
81
|
+
result = api_instance.get(action, request_body)
|
67
82
|
p result
|
68
83
|
rescue VSphereAutomation::ApiError => e
|
69
84
|
puts "Exception when calling MetadataCliCommandApi->get: #{e}"
|
@@ -74,7 +89,8 @@ end
|
|
74
89
|
|
75
90
|
Name | Type | Description | Notes
|
76
91
|
------------- | ------------- | ------------- | -------------
|
77
|
-
**
|
92
|
+
**action** | **String**| ~action=get |
|
93
|
+
**request_body** | [**VapiMetadataCliCommandGet**](VapiMetadataCliCommandGet.md)| |
|
78
94
|
|
79
95
|
### Return type
|
80
96
|
|
@@ -82,12 +98,12 @@ Name | Type | Description | Notes
|
|
82
98
|
|
83
99
|
### Authorization
|
84
100
|
|
85
|
-
|
101
|
+
[api_key](../README.md#api_key)
|
86
102
|
|
87
103
|
### HTTP request headers
|
88
104
|
|
89
105
|
- **Content-Type**: application/json
|
90
|
-
- **Accept**:
|
106
|
+
- **Accept**: application/json
|
91
107
|
|
92
108
|
|
93
109
|
|
@@ -100,6 +116,13 @@ Returns the identifiers of all commands, or commands in a specific namespace.
|
|
100
116
|
```ruby
|
101
117
|
# load the gem
|
102
118
|
require 'vsphere-automation-vapi'
|
119
|
+
# setup authorization
|
120
|
+
VSphereAutomation::Configuration.new.tap do |config|
|
121
|
+
# Configure API key authorization: api_key
|
122
|
+
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
123
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
124
|
+
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
125
|
+
end
|
103
126
|
|
104
127
|
api_instance = VSphereAutomation::VAPI::MetadataCliCommandApi.new
|
105
128
|
opts = {
|
@@ -127,12 +150,12 @@ Name | Type | Description | Notes
|
|
127
150
|
|
128
151
|
### Authorization
|
129
152
|
|
130
|
-
|
153
|
+
[api_key](../README.md#api_key)
|
131
154
|
|
132
155
|
### HTTP request headers
|
133
156
|
|
134
157
|
- **Content-Type**: Not defined
|
135
|
-
- **Accept**:
|
158
|
+
- **Accept**: application/json
|
136
159
|
|
137
160
|
|
138
161
|
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**fingerprint**](MetadataCliNamespaceApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/namespace
|
7
|
+
[**fingerprint**](MetadataCliNamespaceApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/namespace | Returns the aggregate fingerprint of all the namespace metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
|
8
8
|
[**get**](MetadataCliNamespaceApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/namespace?~action=get | Retreives information about a namespace including information about children of that namespace.
|
9
9
|
[**list**](MetadataCliNamespaceApi.md#list) | **GET** /com/vmware/vapi/metadata/cli/namespace | Returns the identifiers of all namespaces registered with the infrastructure.
|
10
10
|
|
11
11
|
|
12
12
|
# **fingerprint**
|
13
|
-
> VapiMetadataCliNamespaceFingerprintResult fingerprint
|
13
|
+
> VapiMetadataCliNamespaceFingerprintResult fingerprint(action)
|
14
14
|
|
15
15
|
Returns the aggregate fingerprint of all the namespace metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
|
16
16
|
|
@@ -18,12 +18,20 @@ Returns the aggregate fingerprint of all the namespace metadata from all the met
|
|
18
18
|
```ruby
|
19
19
|
# load the gem
|
20
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
|
21
28
|
|
22
29
|
api_instance = VSphereAutomation::VAPI::MetadataCliNamespaceApi.new
|
30
|
+
action = 'action_example' # String | ~action=fingerprint
|
23
31
|
|
24
32
|
begin
|
25
33
|
#Returns the aggregate fingerprint of all the namespace metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
|
26
|
-
result = api_instance.fingerprint
|
34
|
+
result = api_instance.fingerprint(action)
|
27
35
|
p result
|
28
36
|
rescue VSphereAutomation::ApiError => e
|
29
37
|
puts "Exception when calling MetadataCliNamespaceApi->fingerprint: #{e}"
|
@@ -31,7 +39,10 @@ end
|
|
31
39
|
```
|
32
40
|
|
33
41
|
### Parameters
|
34
|
-
|
42
|
+
|
43
|
+
Name | Type | Description | Notes
|
44
|
+
------------- | ------------- | ------------- | -------------
|
45
|
+
**action** | **String**| ~action=fingerprint |
|
35
46
|
|
36
47
|
### Return type
|
37
48
|
|
@@ -39,17 +50,17 @@ This endpoint does not need any parameter.
|
|
39
50
|
|
40
51
|
### Authorization
|
41
52
|
|
42
|
-
|
53
|
+
[api_key](../README.md#api_key)
|
43
54
|
|
44
55
|
### HTTP request headers
|
45
56
|
|
46
57
|
- **Content-Type**: Not defined
|
47
|
-
- **Accept**:
|
58
|
+
- **Accept**: application/json
|
48
59
|
|
49
60
|
|
50
61
|
|
51
62
|
# **get**
|
52
|
-
> VapiMetadataCliNamespaceResult get(
|
63
|
+
> VapiMetadataCliNamespaceResult get(request_body)
|
53
64
|
|
54
65
|
Retreives information about a namespace including information about children of that namespace.
|
55
66
|
|
@@ -57,13 +68,20 @@ Retreives information about a namespace including information about children of
|
|
57
68
|
```ruby
|
58
69
|
# load the gem
|
59
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
|
60
78
|
|
61
79
|
api_instance = VSphereAutomation::VAPI::MetadataCliNamespaceApi.new
|
62
|
-
|
80
|
+
request_body = VAPI::VapiMetadataCliNamespaceGet.new # VapiMetadataCliNamespaceGet |
|
63
81
|
|
64
82
|
begin
|
65
83
|
#Retreives information about a namespace including information about children of that namespace.
|
66
|
-
result = api_instance.get(
|
84
|
+
result = api_instance.get(request_body)
|
67
85
|
p result
|
68
86
|
rescue VSphereAutomation::ApiError => e
|
69
87
|
puts "Exception when calling MetadataCliNamespaceApi->get: #{e}"
|
@@ -74,7 +92,7 @@ end
|
|
74
92
|
|
75
93
|
Name | Type | Description | Notes
|
76
94
|
------------- | ------------- | ------------- | -------------
|
77
|
-
**
|
95
|
+
**request_body** | [**VapiMetadataCliNamespaceGet**](VapiMetadataCliNamespaceGet.md)| |
|
78
96
|
|
79
97
|
### Return type
|
80
98
|
|
@@ -82,12 +100,12 @@ Name | Type | Description | Notes
|
|
82
100
|
|
83
101
|
### Authorization
|
84
102
|
|
85
|
-
|
103
|
+
[api_key](../README.md#api_key)
|
86
104
|
|
87
105
|
### HTTP request headers
|
88
106
|
|
89
107
|
- **Content-Type**: application/json
|
90
|
-
- **Accept**:
|
108
|
+
- **Accept**: application/json
|
91
109
|
|
92
110
|
|
93
111
|
|
@@ -100,6 +118,13 @@ Returns the identifiers of all namespaces registered with the infrastructure.
|
|
100
118
|
```ruby
|
101
119
|
# load the gem
|
102
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
|
103
128
|
|
104
129
|
api_instance = VSphereAutomation::VAPI::MetadataCliNamespaceApi.new
|
105
130
|
|
@@ -121,12 +146,12 @@ This endpoint does not need any parameter.
|
|
121
146
|
|
122
147
|
### Authorization
|
123
148
|
|
124
|
-
|
149
|
+
[api_key](../README.md#api_key)
|
125
150
|
|
126
151
|
### HTTP request headers
|
127
152
|
|
128
153
|
- **Content-Type**: Not defined
|
129
|
-
- **Accept**:
|
154
|
+
- **Accept**: application/json
|
130
155
|
|
131
156
|
|
132
157
|
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**fingerprint**](MetadataMetamodelComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/metamodel/component/id:{component_id}
|
7
|
+
[**fingerprint**](MetadataMetamodelComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/metamodel/component/id:{component_id} | Retrieves the fingerprint computed from the metamodel 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 element 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.metamodel.Component#get}.
|
8
8
|
[**get**](MetadataMetamodelComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/component/id:{component_id} | Retrieves metamodel information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the metamodel information about the component and it's fingerprint. It contains information about all the package elements that are contained in this component element.
|
9
9
|
[**list**](MetadataMetamodelComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/component | Returns the identifiers for the component elements that are registered with the infrastructure.
|
10
10
|
|
11
11
|
|
12
12
|
# **fingerprint**
|
13
|
-
> VapiMetadataMetamodelComponentFingerprintResult fingerprint(component_id)
|
13
|
+
> VapiMetadataMetamodelComponentFingerprintResult fingerprint(component_id, action)
|
14
14
|
|
15
15
|
Retrieves the fingerprint computed from the metamodel 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 element 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.metamodel.Component#get}.
|
16
16
|
|
@@ -18,13 +18,21 @@ Retrieves the fingerprint computed from the metamodel metadata of the component
|
|
18
18
|
```ruby
|
19
19
|
# load the gem
|
20
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
|
21
28
|
|
22
29
|
api_instance = VSphereAutomation::VAPI::MetadataMetamodelComponentApi.new
|
23
30
|
component_id = 'component_id_example' # String | Identifier of the component element.
|
31
|
+
action = 'action_example' # String | ~action=fingerprint
|
24
32
|
|
25
33
|
begin
|
26
34
|
#Retrieves the fingerprint computed from the metamodel 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 element 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.metamodel.Component#get}.
|
27
|
-
result = api_instance.fingerprint(component_id)
|
35
|
+
result = api_instance.fingerprint(component_id, action)
|
28
36
|
p result
|
29
37
|
rescue VSphereAutomation::ApiError => e
|
30
38
|
puts "Exception when calling MetadataMetamodelComponentApi->fingerprint: #{e}"
|
@@ -36,6 +44,7 @@ end
|
|
36
44
|
Name | Type | Description | Notes
|
37
45
|
------------- | ------------- | ------------- | -------------
|
38
46
|
**component_id** | **String**| Identifier of the component element. |
|
47
|
+
**action** | **String**| ~action=fingerprint |
|
39
48
|
|
40
49
|
### Return type
|
41
50
|
|
@@ -43,12 +52,12 @@ Name | Type | Description | Notes
|
|
43
52
|
|
44
53
|
### Authorization
|
45
54
|
|
46
|
-
|
55
|
+
[api_key](../README.md#api_key)
|
47
56
|
|
48
57
|
### HTTP request headers
|
49
58
|
|
50
59
|
- **Content-Type**: Not defined
|
51
|
-
- **Accept**:
|
60
|
+
- **Accept**: application/json
|
52
61
|
|
53
62
|
|
54
63
|
|
@@ -61,6 +70,13 @@ Retrieves metamodel information about the component element corresponding to {@p
|
|
61
70
|
```ruby
|
62
71
|
# load the gem
|
63
72
|
require 'vsphere-automation-vapi'
|
73
|
+
# setup authorization
|
74
|
+
VSphereAutomation::Configuration.new.tap do |config|
|
75
|
+
# Configure API key authorization: api_key
|
76
|
+
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
77
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
78
|
+
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
79
|
+
end
|
64
80
|
|
65
81
|
api_instance = VSphereAutomation::VAPI::MetadataMetamodelComponentApi.new
|
66
82
|
component_id = 'component_id_example' # String | Identifier of the component element.
|
@@ -86,12 +102,12 @@ Name | Type | Description | Notes
|
|
86
102
|
|
87
103
|
### Authorization
|
88
104
|
|
89
|
-
|
105
|
+
[api_key](../README.md#api_key)
|
90
106
|
|
91
107
|
### HTTP request headers
|
92
108
|
|
93
109
|
- **Content-Type**: Not defined
|
94
|
-
- **Accept**:
|
110
|
+
- **Accept**: application/json
|
95
111
|
|
96
112
|
|
97
113
|
|
@@ -104,6 +120,13 @@ Returns the identifiers for the component elements that are registered with the
|
|
104
120
|
```ruby
|
105
121
|
# load the gem
|
106
122
|
require 'vsphere-automation-vapi'
|
123
|
+
# setup authorization
|
124
|
+
VSphereAutomation::Configuration.new.tap do |config|
|
125
|
+
# Configure API key authorization: api_key
|
126
|
+
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
127
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
128
|
+
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
129
|
+
end
|
107
130
|
|
108
131
|
api_instance = VSphereAutomation::VAPI::MetadataMetamodelComponentApi.new
|
109
132
|
|
@@ -125,12 +148,12 @@ This endpoint does not need any parameter.
|
|
125
148
|
|
126
149
|
### Authorization
|
127
150
|
|
128
|
-
|
151
|
+
[api_key](../README.md#api_key)
|
129
152
|
|
130
153
|
### HTTP request headers
|
131
154
|
|
132
155
|
- **Content-Type**: Not defined
|
133
|
-
- **Accept**:
|
156
|
+
- **Accept**: application/json
|
134
157
|
|
135
158
|
|
136
159
|
|