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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2205604ce94e9a5e659da53b3625afe21598f3622f86b6fe207815d5e271cf81
|
4
|
+
data.tar.gz: 5b8cb6714b8524600e82c07e91b7fdc3cb421efeb828be988865269178c42732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbc81f8f51852e9d85e9f6d5cfd50305097bcd391532a854dd2d0e83efba898f3c7f77828d5e3d81cb024e0a77e95a0df50613499923e4df03a850891bb8905c
|
7
|
+
data.tar.gz: f215b338e4707eebd4d15964e13a4a53bff9576503a4f852367d60e3c59b5a2be4b187c52ed1d6e7fa57224f4298b41ceb9de04dda8fe82144ed79d658bfb435
|
data/Gemfile
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
3
|
+
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
+
|
6
|
+
# vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
|
7
|
+
|
8
|
+
|
1
9
|
source 'https://rubygems.org'
|
2
10
|
|
3
|
-
|
11
|
+
gem 'vsphere-automation-runtime', path: '../runtime'
|
12
|
+
gem 'vsphere-automation-cis', path: '../cis'
|
13
|
+
|
14
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,79 +1,92 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../cis
|
3
|
+
specs:
|
4
|
+
vsphere-automation-cis (0.2.0)
|
5
|
+
vsphere-automation-runtime (~> 0.2.0)
|
6
|
+
|
7
|
+
PATH
|
8
|
+
remote: ../runtime
|
9
|
+
specs:
|
10
|
+
vsphere-automation-runtime (0.2.0)
|
11
|
+
typhoeus (~> 1.3)
|
12
|
+
|
1
13
|
PATH
|
2
14
|
remote: .
|
3
15
|
specs:
|
4
|
-
vsphere-automation-vapi (0.
|
5
|
-
|
6
|
-
|
16
|
+
vsphere-automation-vapi (0.2.0)
|
17
|
+
vsphere-automation-cis (~> 0.2.0)
|
18
|
+
vsphere-automation-runtime (~> 0.2.0)
|
7
19
|
|
8
20
|
GEM
|
9
21
|
remote: https://rubygems.org/
|
10
22
|
specs:
|
11
|
-
|
12
|
-
addressable (2.5.2)
|
23
|
+
addressable (2.6.0)
|
13
24
|
public_suffix (>= 2.0.2, < 4.0)
|
14
|
-
|
15
|
-
ZenTest (>= 4.4.1)
|
16
|
-
autotest-fsevent (0.2.14)
|
17
|
-
sys-uname
|
18
|
-
autotest-growl (0.2.16)
|
19
|
-
autotest-rails-pure (4.1.2)
|
20
|
-
byebug (10.0.2)
|
25
|
+
ast (2.4.0)
|
21
26
|
coderay (1.1.2)
|
22
27
|
crack (0.4.3)
|
23
28
|
safe_yaml (~> 1.0.0)
|
24
29
|
diff-lcs (1.3)
|
25
|
-
ethon (0.
|
30
|
+
ethon (0.12.0)
|
26
31
|
ffi (>= 1.3.0)
|
27
|
-
ffi (1.
|
28
|
-
hashdiff (0.
|
29
|
-
|
30
|
-
method_source (0.9.
|
31
|
-
|
32
|
+
ffi (1.11.1)
|
33
|
+
hashdiff (1.0.0)
|
34
|
+
jaro_winkler (1.5.3)
|
35
|
+
method_source (0.9.2)
|
36
|
+
parallel (1.17.0)
|
37
|
+
parser (2.6.3.0)
|
38
|
+
ast (~> 2.4.0)
|
39
|
+
pry (0.12.2)
|
32
40
|
coderay (~> 1.1.0)
|
33
41
|
method_source (~> 0.9.0)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
public_suffix (3.0.3)
|
38
|
-
rake (12.0.0)
|
42
|
+
public_suffix (3.1.1)
|
43
|
+
rainbow (3.0.0)
|
44
|
+
rake (12.3.3)
|
39
45
|
rspec (3.8.0)
|
40
46
|
rspec-core (~> 3.8.0)
|
41
47
|
rspec-expectations (~> 3.8.0)
|
42
48
|
rspec-mocks (~> 3.8.0)
|
43
|
-
rspec-core (3.8.
|
49
|
+
rspec-core (3.8.2)
|
44
50
|
rspec-support (~> 3.8.0)
|
45
|
-
rspec-expectations (3.8.
|
51
|
+
rspec-expectations (3.8.4)
|
46
52
|
diff-lcs (>= 1.2.0, < 2.0)
|
47
53
|
rspec-support (~> 3.8.0)
|
48
|
-
rspec-mocks (3.8.
|
54
|
+
rspec-mocks (3.8.1)
|
49
55
|
diff-lcs (>= 1.2.0, < 2.0)
|
50
56
|
rspec-support (~> 3.8.0)
|
51
|
-
rspec-support (3.8.
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
57
|
+
rspec-support (3.8.2)
|
58
|
+
rubocop (0.73.0)
|
59
|
+
jaro_winkler (~> 1.5.1)
|
60
|
+
parallel (~> 1.10)
|
61
|
+
parser (>= 2.6)
|
62
|
+
rainbow (>= 2.2.2, < 4.0)
|
63
|
+
ruby-progressbar (~> 1.7)
|
64
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
65
|
+
ruby-progressbar (1.10.1)
|
66
|
+
safe_yaml (1.0.5)
|
67
|
+
typhoeus (1.3.1)
|
56
68
|
ethon (>= 0.9.0)
|
57
|
-
|
58
|
-
|
69
|
+
unicode-display_width (1.6.0)
|
70
|
+
vcr (5.0.0)
|
71
|
+
webmock (3.6.2)
|
59
72
|
addressable (>= 2.3.6)
|
60
73
|
crack (>= 0.3.2)
|
61
|
-
hashdiff
|
74
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
62
75
|
|
63
76
|
PLATFORMS
|
64
77
|
ruby
|
65
78
|
|
66
79
|
DEPENDENCIES
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
80
|
+
bundler (~> 2.0)
|
81
|
+
pry (~> 0.12.2)
|
82
|
+
rake (~> 12.3)
|
83
|
+
rspec (~> 3.7)
|
84
|
+
rubocop (~> 0.73.0)
|
85
|
+
vcr (~> 5.0)
|
86
|
+
vsphere-automation-cis!
|
87
|
+
vsphere-automation-runtime!
|
71
88
|
vsphere-automation-vapi!
|
72
|
-
|
73
|
-
rake (~> 12.0.0)
|
74
|
-
rspec (~> 3.6, >= 3.6.0)
|
75
|
-
vcr (~> 3.0, >= 3.0.1)
|
76
|
-
webmock (~> 1.24, >= 1.24.3)
|
89
|
+
webmock (~> 3.6)
|
77
90
|
|
78
91
|
BUNDLED WITH
|
79
|
-
|
92
|
+
2.0.2
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
The Ruby gem for the vSphere VAPI API
|
4
4
|
|
5
5
|
- API version: 2.0.0
|
6
|
-
- Package version: 0.
|
6
|
+
- Package version: 0.2.0
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
@@ -29,12 +29,21 @@ Please follow the [installation](#installation) procedure and then run the follo
|
|
29
29
|
# Load the gem
|
30
30
|
require 'vsphere-automation-vapi'
|
31
31
|
|
32
|
+
# Setup authorization
|
33
|
+
VSphereAutomation.configure do |config|
|
34
|
+
# Configure API key authorization: api_key
|
35
|
+
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
36
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
37
|
+
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
38
|
+
end
|
39
|
+
|
32
40
|
api_instance = VSphereAutomation::VAPI::MetadataAuthenticationComponentApi.new
|
33
41
|
component_id = 'component_id_example' # String | Identifier of the component element.
|
42
|
+
action = 'action_example' # String | ~action=fingerprint
|
34
43
|
|
35
44
|
begin
|
36
45
|
#Retrieves the fingerprint computed from the authentication 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.authentication.Component#get}.
|
37
|
-
result = api_instance.fingerprint(component_id)
|
46
|
+
result = api_instance.fingerprint(component_id, action)
|
38
47
|
p result
|
39
48
|
rescue VSphereAutomation::ApiError => e
|
40
49
|
puts "Exception when calling MetadataAuthenticationComponentApi->fingerprint: #{e}"
|
@@ -48,22 +57,22 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
48
57
|
|
49
58
|
Class | Method | HTTP request | Description
|
50
59
|
------------ | ------------- | ------------- | -------------
|
51
|
-
`VSphereAutomation::VAPI::MetadataAuthenticationComponentApi` | [**fingerprint**](docs/MetadataAuthenticationComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/authentication/component/id:{component_id}
|
60
|
+
`VSphereAutomation::VAPI::MetadataAuthenticationComponentApi` | [**fingerprint**](docs/MetadataAuthenticationComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/authentication/component/id:{component_id} | Retrieves the fingerprint computed from the authentication 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.authentication.Component#get}.
|
52
61
|
`VSphereAutomation::VAPI::MetadataAuthenticationComponentApi` | [**get**](docs/MetadataAuthenticationComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/authentication/component/id:{component_id} | Retrieves authentication information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the authentication information about the component element and it's fingerprint. It contains information about all the package elements that belong to this component element.
|
53
62
|
`VSphereAutomation::VAPI::MetadataAuthenticationComponentApi` | [**list**](docs/MetadataAuthenticationComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/component | Returns the identifiers for the component elements that have authentication information.
|
54
63
|
`VSphereAutomation::VAPI::MetadataAuthenticationPackageApi` | [**get**](docs/MetadataAuthenticationPackageApi.md#get) | **GET** /com/vmware/vapi/metadata/authentication/package/id:{package_id} | Retrieves authentication information about the package element corresponding to {@param.name packageId}.
|
55
64
|
`VSphereAutomation::VAPI::MetadataAuthenticationPackageApi` | [**list**](docs/MetadataAuthenticationPackageApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/package | Returns the identifiers for the package elements that have authentication information.
|
56
65
|
`VSphereAutomation::VAPI::MetadataAuthenticationServiceApi` | [**get**](docs/MetadataAuthenticationServiceApi.md#get) | **GET** /com/vmware/vapi/metadata/authentication/service/id:{service_id} | Retrieves authentication information about the service element corresponding to {@param.name serviceId}.
|
57
66
|
`VSphereAutomation::VAPI::MetadataAuthenticationServiceApi` | [**list**](docs/MetadataAuthenticationServiceApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/service | Returns the identifiers for the service elements that have authentication information.
|
58
|
-
`VSphereAutomation::VAPI::MetadataAuthenticationServiceOperationApi` | [**get**](docs/MetadataAuthenticationServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/authentication/service/operation/id:{service_id}
|
67
|
+
`VSphereAutomation::VAPI::MetadataAuthenticationServiceOperationApi` | [**get**](docs/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}.
|
59
68
|
`VSphereAutomation::VAPI::MetadataAuthenticationServiceOperationApi` | [**list**](docs/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.
|
60
69
|
`VSphereAutomation::VAPI::MetadataCliCommandApi` | [**fingerprint**](docs/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.
|
61
|
-
`VSphereAutomation::VAPI::MetadataCliCommandApi` | [**get**](docs/MetadataCliCommandApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/command
|
70
|
+
`VSphereAutomation::VAPI::MetadataCliCommandApi` | [**get**](docs/MetadataCliCommandApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/command | Retrieves information about a command including information about how to execute that command.
|
62
71
|
`VSphereAutomation::VAPI::MetadataCliCommandApi` | [**list**](docs/MetadataCliCommandApi.md#list) | **GET** /com/vmware/vapi/metadata/cli/command | Returns the identifiers of all commands, or commands in a specific namespace.
|
63
|
-
`VSphereAutomation::VAPI::MetadataCliNamespaceApi` | [**fingerprint**](docs/MetadataCliNamespaceApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/namespace
|
72
|
+
`VSphereAutomation::VAPI::MetadataCliNamespaceApi` | [**fingerprint**](docs/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.
|
64
73
|
`VSphereAutomation::VAPI::MetadataCliNamespaceApi` | [**get**](docs/MetadataCliNamespaceApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/namespace?~action=get | Retreives information about a namespace including information about children of that namespace.
|
65
74
|
`VSphereAutomation::VAPI::MetadataCliNamespaceApi` | [**list**](docs/MetadataCliNamespaceApi.md#list) | **GET** /com/vmware/vapi/metadata/cli/namespace | Returns the identifiers of all namespaces registered with the infrastructure.
|
66
|
-
`VSphereAutomation::VAPI::MetadataMetamodelComponentApi` | [**fingerprint**](docs/MetadataMetamodelComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/metamodel/component/id:{component_id}
|
75
|
+
`VSphereAutomation::VAPI::MetadataMetamodelComponentApi` | [**fingerprint**](docs/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}.
|
67
76
|
`VSphereAutomation::VAPI::MetadataMetamodelComponentApi` | [**get**](docs/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.
|
68
77
|
`VSphereAutomation::VAPI::MetadataMetamodelComponentApi` | [**list**](docs/MetadataMetamodelComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/component | Returns the identifiers for the component elements that are registered with the infrastructure.
|
69
78
|
`VSphereAutomation::VAPI::MetadataMetamodelEnumerationApi` | [**get**](docs/MetadataMetamodelEnumerationApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/enumeration/id:{enumeration_id} | Retrieves information about the enumeration element corresponding to {@param.name enumerationId}. <p> The {@link EnumerationInfo} contains the metamodel information about the enumeration value element contained in the enumeration element.
|
@@ -78,22 +87,22 @@ Class | Method | HTTP request | Description
|
|
78
87
|
`VSphereAutomation::VAPI::MetadataMetamodelServiceOperationApi` | [**list**](docs/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}.
|
79
88
|
`VSphereAutomation::VAPI::MetadataMetamodelStructureApi` | [**get**](docs/MetadataMetamodelStructureApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/structure/id:{structure_id} | 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.
|
80
89
|
`VSphereAutomation::VAPI::MetadataMetamodelStructureApi` | [**list**](docs/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.
|
81
|
-
`VSphereAutomation::VAPI::MetadataPrivilegeComponentApi` | [**fingerprint**](docs/MetadataPrivilegeComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/privilege/component/id:{component_id}
|
90
|
+
`VSphereAutomation::VAPI::MetadataPrivilegeComponentApi` | [**fingerprint**](docs/MetadataPrivilegeComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/privilege/component/id:{component_id} | 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}.
|
82
91
|
`VSphereAutomation::VAPI::MetadataPrivilegeComponentApi` | [**get**](docs/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}. <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.
|
83
92
|
`VSphereAutomation::VAPI::MetadataPrivilegeComponentApi` | [**list**](docs/MetadataPrivilegeComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/component | Returns the identifiers for the component elements that have privilege information.
|
84
93
|
`VSphereAutomation::VAPI::MetadataPrivilegePackageApi` | [**get**](docs/MetadataPrivilegePackageApi.md#get) | **GET** /com/vmware/vapi/metadata/privilege/package/id:{package_id} | Retrieves privilege information about the package element corresponding to {@param.name packageId}.
|
85
94
|
`VSphereAutomation::VAPI::MetadataPrivilegePackageApi` | [**list**](docs/MetadataPrivilegePackageApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/package | Returns the identifiers for the package elements that have privilege information.
|
86
95
|
`VSphereAutomation::VAPI::MetadataPrivilegeServiceApi` | [**get**](docs/MetadataPrivilegeServiceApi.md#get) | **GET** /com/vmware/vapi/metadata/privilege/service/id:{service_id} | Retrieves privilege information about the service element corresponding to {@param.name serviceId}.
|
87
96
|
`VSphereAutomation::VAPI::MetadataPrivilegeServiceApi` | [**list**](docs/MetadataPrivilegeServiceApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/service | Returns the identifiers for the service elements that have privilege information.
|
88
|
-
`VSphereAutomation::VAPI::MetadataPrivilegeServiceOperationApi` | [**get**](docs/MetadataPrivilegeServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/privilege/service/operation/id:{service_id}
|
97
|
+
`VSphereAutomation::VAPI::MetadataPrivilegeServiceOperationApi` | [**get**](docs/MetadataPrivilegeServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/privilege/service/operation/id:{service_id} | Retrieves the privilege information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
89
98
|
`VSphereAutomation::VAPI::MetadataPrivilegeServiceOperationApi` | [**list**](docs/MetadataPrivilegeServiceOperationApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/service/operation | Returns the identifiers for the operation elements contained in the service element corresponding to {@param.name serviceId} that have privilege information.
|
90
99
|
`VSphereAutomation::VAPI::RestNavigationComponentApi` | [**list**](docs/RestNavigationComponentApi.md#list) | **GET** /com/vmware/vapi/rest/navigation/component | Gets list of all vAPI REST {@link Component}s.
|
91
|
-
`VSphereAutomation::VAPI::RestNavigationOptionsApi` | [**get**](docs/RestNavigationOptionsApi.md#get) | **POST** /com/vmware/vapi/rest/navigation/options
|
100
|
+
`VSphereAutomation::VAPI::RestNavigationOptionsApi` | [**get**](docs/RestNavigationOptionsApi.md#get) | **POST** /com/vmware/vapi/rest/navigation/options | Retrieves operations for specific URL.
|
92
101
|
`VSphereAutomation::VAPI::RestNavigationResourceApi` | [**get**](docs/RestNavigationResourceApi.md#get) | **GET** /com/vmware/vapi/rest/navigation/resource/id:{type_id}/id:{instance_id} | Gets {@link List} of all {@link Operation}s about a vAPI REST {@link Resource}. Information is searched for by {@param.name typeId} and {@param.name instanceId} is used only in URLs.
|
93
102
|
`VSphereAutomation::VAPI::RestNavigationResourceApi` | [**list**](docs/RestNavigationResourceApi.md#list) | **GET** /com/vmware/vapi/rest/navigation/resource | Gets list of all vAPI REST {@link Resource}s.
|
94
103
|
`VSphereAutomation::VAPI::RestNavigationRootApi` | [**get**](docs/RestNavigationRootApi.md#get) | **GET** /com/vmware/vapi/rest/navigation/root | Retrieves information about a vAPI REST {@link Root}.
|
95
104
|
`VSphereAutomation::VAPI::RestNavigationServiceApi` | [**list**](docs/RestNavigationServiceApi.md#list) | **GET** /com/vmware/vapi/rest/navigation/service | Gets list of all vAPI REST {@link Service}s for a vAPI REST {@link Component}.
|
96
|
-
`VSphereAutomation::VAPI::VcenterActivationApi` | [**cancel**](docs/VcenterActivationApi.md#cancel) | **POST** /com/vmware/vapi/vcenter/activation/id:{activation_id}
|
105
|
+
`VSphereAutomation::VAPI::VcenterActivationApi` | [**cancel**](docs/VcenterActivationApi.md#cancel) | **POST** /com/vmware/vapi/vcenter/activation/id:{activation_id} | Sends a request to cancel the task associated with the provided {@param.name activationId}.
|
97
106
|
|
98
107
|
|
99
108
|
## Documentation for Models
|
@@ -138,6 +147,7 @@ Class | Method | HTTP request | Description
|
|
138
147
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelComponentData](docs/VapiMetadataMetamodelComponentData.md)
|
139
148
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelComponentFingerprintResult](docs/VapiMetadataMetamodelComponentFingerprintResult.md)
|
140
149
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelComponentInfo](docs/VapiMetadataMetamodelComponentInfo.md)
|
150
|
+
- [VSphereAutomation::VAPI::VapiMetadataMetamodelComponentInfoMetadata](docs/VapiMetadataMetamodelComponentInfoMetadata.md)
|
141
151
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelComponentInfoPackages](docs/VapiMetadataMetamodelComponentInfoPackages.md)
|
142
152
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelComponentListResult](docs/VapiMetadataMetamodelComponentListResult.md)
|
143
153
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelComponentResult](docs/VapiMetadataMetamodelComponentResult.md)
|
@@ -152,7 +162,6 @@ Class | Method | HTTP request | Description
|
|
152
162
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelEnumerationListResult](docs/VapiMetadataMetamodelEnumerationListResult.md)
|
153
163
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelEnumerationResult](docs/VapiMetadataMetamodelEnumerationResult.md)
|
154
164
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelEnumerationValueInfo](docs/VapiMetadataMetamodelEnumerationValueInfo.md)
|
155
|
-
- [VSphereAutomation::VAPI::VapiMetadataMetamodelEnumerationValueInfoMetadata](docs/VapiMetadataMetamodelEnumerationValueInfoMetadata.md)
|
156
165
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelErrorInfo](docs/VapiMetadataMetamodelErrorInfo.md)
|
157
166
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelFieldInfo](docs/VapiMetadataMetamodelFieldInfo.md)
|
158
167
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelGenericInstantiation](docs/VapiMetadataMetamodelGenericInstantiation.md)
|
@@ -170,13 +179,13 @@ Class | Method | HTTP request | Description
|
|
170
179
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelResourceListResult](docs/VapiMetadataMetamodelResourceListResult.md)
|
171
180
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelResourceModelListResult](docs/VapiMetadataMetamodelResourceModelListResult.md)
|
172
181
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelServiceInfo](docs/VapiMetadataMetamodelServiceInfo.md)
|
182
|
+
- [VSphereAutomation::VAPI::VapiMetadataMetamodelServiceInfoConstants](docs/VapiMetadataMetamodelServiceInfoConstants.md)
|
173
183
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelServiceInfoOperations](docs/VapiMetadataMetamodelServiceInfoOperations.md)
|
174
184
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelServiceListResult](docs/VapiMetadataMetamodelServiceListResult.md)
|
175
185
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelServiceOperationListResult](docs/VapiMetadataMetamodelServiceOperationListResult.md)
|
176
186
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelServiceOperationResult](docs/VapiMetadataMetamodelServiceOperationResult.md)
|
177
187
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelServiceResult](docs/VapiMetadataMetamodelServiceResult.md)
|
178
188
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelStructureInfo](docs/VapiMetadataMetamodelStructureInfo.md)
|
179
|
-
- [VSphereAutomation::VAPI::VapiMetadataMetamodelStructureInfoConstants](docs/VapiMetadataMetamodelStructureInfoConstants.md)
|
180
189
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelStructureInfoType](docs/VapiMetadataMetamodelStructureInfoType.md)
|
181
190
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelStructureListResult](docs/VapiMetadataMetamodelStructureListResult.md)
|
182
191
|
- [VSphereAutomation::VAPI::VapiMetadataMetamodelStructureResult](docs/VapiMetadataMetamodelStructureResult.md)
|
data/Rakefile
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
2
|
+
# SPDX-License-Identifier: MIT
|
3
|
+
|
4
|
+
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
5
|
+
|
6
|
+
# vapi - vAPI is an extensible API Platform for modelling and delivering APIs/SDKs/CLIs.
|
7
|
+
|
8
|
+
|
1
9
|
require "bundler/gem_tasks"
|
2
10
|
|
3
11
|
begin
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**fingerprint**](MetadataAuthenticationComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/authentication/component/id:{component_id}
|
7
|
+
[**fingerprint**](MetadataAuthenticationComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/authentication/component/id:{component_id} | Retrieves the fingerprint computed from the authentication 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.authentication.Component#get}.
|
8
8
|
[**get**](MetadataAuthenticationComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/authentication/component/id:{component_id} | Retrieves authentication information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the authentication information about the component element and it's fingerprint. It contains information about all the package elements that belong to this component element.
|
9
9
|
[**list**](MetadataAuthenticationComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/component | Returns the identifiers for the component elements that have authentication information.
|
10
10
|
|
11
11
|
|
12
12
|
# **fingerprint**
|
13
|
-
> VapiMetadataAuthenticationComponentFingerprintResult fingerprint(component_id)
|
13
|
+
> VapiMetadataAuthenticationComponentFingerprintResult fingerprint(component_id, action)
|
14
14
|
|
15
15
|
Retrieves the fingerprint computed from the authentication 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.authentication.Component#get}.
|
16
16
|
|
@@ -18,13 +18,21 @@ Retrieves the fingerprint computed from the authentication metadata of the compo
|
|
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::MetadataAuthenticationComponentApi.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 authentication 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.authentication.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 MetadataAuthenticationComponentApi->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 authentication information about the component element corresponding t
|
|
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::MetadataAuthenticationComponentApi.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 have authentication info
|
|
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::MetadataAuthenticationComponentApi.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
|
|
@@ -17,6 +17,13 @@ Retrieves authentication information about the package 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::MetadataAuthenticationPackageApi.new
|
22
29
|
package_id = 'package_id_example' # String | Identifier of the package 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 package 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::MetadataAuthenticationPackageApi.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
|
|