vsphere-automation-vapi 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/lib/vsphere-automation-vapi/version.rb +1 -1
- metadata +8 -491
- data/Gemfile +0 -14
- data/Gemfile.lock +0 -86
- data/README.md +0 -240
- data/Rakefile +0 -18
- data/docs/MetadataAuthenticationComponentApi.md +0 -157
- data/docs/MetadataAuthenticationPackageApi.md +0 -106
- data/docs/MetadataAuthenticationServiceApi.md +0 -106
- data/docs/MetadataAuthenticationServiceOperationApi.md +0 -112
- data/docs/MetadataCliCommandApi.md +0 -159
- data/docs/MetadataCliNamespaceApi.md +0 -153
- data/docs/MetadataMetamodelComponentApi.md +0 -157
- data/docs/MetadataMetamodelEnumerationApi.md +0 -106
- data/docs/MetadataMetamodelPackageApi.md +0 -106
- data/docs/MetadataMetamodelResourceApi.md +0 -55
- data/docs/MetadataMetamodelResourceModelApi.md +0 -59
- data/docs/MetadataMetamodelServiceApi.md +0 -106
- data/docs/MetadataMetamodelServiceOperationApi.md +0 -112
- data/docs/MetadataMetamodelStructureApi.md +0 -106
- data/docs/MetadataPrivilegeComponentApi.md +0 -157
- data/docs/MetadataPrivilegePackageApi.md +0 -106
- data/docs/MetadataPrivilegeServiceApi.md +0 -106
- data/docs/MetadataPrivilegeServiceOperationApi.md +0 -112
- data/docs/RestNavigationComponentApi.md +0 -61
- data/docs/RestNavigationOptionsApi.md +0 -59
- data/docs/RestNavigationResourceApi.md +0 -118
- data/docs/RestNavigationRootApi.md +0 -61
- data/docs/RestNavigationServiceApi.md +0 -63
- data/docs/VapiMetadataAuthenticationAuthenticationInfo.md +0 -10
- data/docs/VapiMetadataAuthenticationAuthenticationInfoSchemeType.md +0 -7
- data/docs/VapiMetadataAuthenticationComponentData.md +0 -9
- data/docs/VapiMetadataAuthenticationComponentFingerprintResult.md +0 -8
- data/docs/VapiMetadataAuthenticationComponentInfo.md +0 -8
- data/docs/VapiMetadataAuthenticationComponentInfoPackages.md +0 -9
- data/docs/VapiMetadataAuthenticationComponentListResult.md +0 -8
- data/docs/VapiMetadataAuthenticationComponentResult.md +0 -8
- data/docs/VapiMetadataAuthenticationOperationInfo.md +0 -8
- data/docs/VapiMetadataAuthenticationPackageInfo.md +0 -9
- data/docs/VapiMetadataAuthenticationPackageInfoServices.md +0 -9
- data/docs/VapiMetadataAuthenticationPackageListResult.md +0 -8
- data/docs/VapiMetadataAuthenticationPackageResult.md +0 -8
- data/docs/VapiMetadataAuthenticationServiceInfo.md +0 -9
- data/docs/VapiMetadataAuthenticationServiceInfoOperations.md +0 -9
- data/docs/VapiMetadataAuthenticationServiceListResult.md +0 -8
- data/docs/VapiMetadataAuthenticationServiceOperationGet.md +0 -8
- data/docs/VapiMetadataAuthenticationServiceOperationListResult.md +0 -8
- data/docs/VapiMetadataAuthenticationServiceOperationResult.md +0 -8
- data/docs/VapiMetadataAuthenticationServiceResult.md +0 -8
- data/docs/VapiMetadataCliCommandFingerprintResult.md +0 -8
- data/docs/VapiMetadataCliCommandFormatterType.md +0 -7
- data/docs/VapiMetadataCliCommandGenericType.md +0 -7
- data/docs/VapiMetadataCliCommandGet.md +0 -8
- data/docs/VapiMetadataCliCommandIdentity.md +0 -9
- data/docs/VapiMetadataCliCommandInfo.md +0 -14
- data/docs/VapiMetadataCliCommandListResult.md +0 -8
- data/docs/VapiMetadataCliCommandOptionInfo.md +0 -13
- data/docs/VapiMetadataCliCommandOutputFieldInfo.md +0 -9
- data/docs/VapiMetadataCliCommandOutputInfo.md +0 -9
- data/docs/VapiMetadataCliCommandResult.md +0 -8
- data/docs/VapiMetadataCliNamespaceFingerprintResult.md +0 -8
- data/docs/VapiMetadataCliNamespaceGet.md +0 -8
- data/docs/VapiMetadataCliNamespaceIdentity.md +0 -9
- data/docs/VapiMetadataCliNamespaceInfo.md +0 -10
- data/docs/VapiMetadataCliNamespaceListResult.md +0 -8
- data/docs/VapiMetadataCliNamespaceResult.md +0 -8
- data/docs/VapiMetadataMetamodelComponentData.md +0 -9
- data/docs/VapiMetadataMetamodelComponentFingerprintResult.md +0 -8
- data/docs/VapiMetadataMetamodelComponentInfo.md +0 -11
- data/docs/VapiMetadataMetamodelComponentInfoMetadata.md +0 -9
- data/docs/VapiMetadataMetamodelComponentInfoPackages.md +0 -9
- data/docs/VapiMetadataMetamodelComponentListResult.md +0 -8
- data/docs/VapiMetadataMetamodelComponentResult.md +0 -8
- data/docs/VapiMetadataMetamodelConstantInfo.md +0 -10
- data/docs/VapiMetadataMetamodelConstantValue.md +0 -10
- data/docs/VapiMetadataMetamodelConstantValueCategory.md +0 -7
- data/docs/VapiMetadataMetamodelElementMap.md +0 -8
- data/docs/VapiMetadataMetamodelElementMapElements.md +0 -9
- data/docs/VapiMetadataMetamodelElementValue.md +0 -13
- data/docs/VapiMetadataMetamodelElementValueType.md +0 -7
- data/docs/VapiMetadataMetamodelEnumerationInfo.md +0 -11
- data/docs/VapiMetadataMetamodelEnumerationListResult.md +0 -8
- data/docs/VapiMetadataMetamodelEnumerationResult.md +0 -8
- data/docs/VapiMetadataMetamodelEnumerationValueInfo.md +0 -10
- data/docs/VapiMetadataMetamodelErrorInfo.md +0 -9
- data/docs/VapiMetadataMetamodelFieldInfo.md +0 -11
- data/docs/VapiMetadataMetamodelGenericInstantiation.md +0 -11
- data/docs/VapiMetadataMetamodelGenericInstantiationGenericType.md +0 -7
- data/docs/VapiMetadataMetamodelOperationInfo.md +0 -13
- data/docs/VapiMetadataMetamodelOperationResultInfo.md +0 -10
- data/docs/VapiMetadataMetamodelPackageInfo.md +0 -13
- data/docs/VapiMetadataMetamodelPackageInfoEnumerations.md +0 -9
- data/docs/VapiMetadataMetamodelPackageInfoServices.md +0 -9
- data/docs/VapiMetadataMetamodelPackageInfoStructures.md +0 -9
- data/docs/VapiMetadataMetamodelPackageListResult.md +0 -8
- data/docs/VapiMetadataMetamodelPackageResult.md +0 -8
- data/docs/VapiMetadataMetamodelPrimitiveValue.md +0 -12
- data/docs/VapiMetadataMetamodelPrimitiveValueType.md +0 -7
- data/docs/VapiMetadataMetamodelResourceListResult.md +0 -8
- data/docs/VapiMetadataMetamodelResourceModelListResult.md +0 -8
- data/docs/VapiMetadataMetamodelServiceInfo.md +0 -14
- data/docs/VapiMetadataMetamodelServiceInfoConstants.md +0 -9
- data/docs/VapiMetadataMetamodelServiceInfoOperations.md +0 -9
- data/docs/VapiMetadataMetamodelServiceListResult.md +0 -8
- data/docs/VapiMetadataMetamodelServiceOperationListResult.md +0 -8
- data/docs/VapiMetadataMetamodelServiceOperationResult.md +0 -8
- data/docs/VapiMetadataMetamodelServiceResult.md +0 -8
- data/docs/VapiMetadataMetamodelStructureInfo.md +0 -14
- data/docs/VapiMetadataMetamodelStructureInfoType.md +0 -7
- data/docs/VapiMetadataMetamodelStructureListResult.md +0 -8
- data/docs/VapiMetadataMetamodelStructureResult.md +0 -8
- data/docs/VapiMetadataMetamodelType.md +0 -11
- data/docs/VapiMetadataMetamodelTypeBuiltinType.md +0 -7
- data/docs/VapiMetadataMetamodelTypeCategory.md +0 -7
- data/docs/VapiMetadataMetamodelUserDefinedType.md +0 -9
- data/docs/VapiMetadataPrivilegeComponentData.md +0 -9
- data/docs/VapiMetadataPrivilegeComponentFingerprintResult.md +0 -8
- data/docs/VapiMetadataPrivilegeComponentInfo.md +0 -8
- data/docs/VapiMetadataPrivilegeComponentInfoPackages.md +0 -9
- data/docs/VapiMetadataPrivilegeComponentListResult.md +0 -8
- data/docs/VapiMetadataPrivilegeComponentResult.md +0 -8
- data/docs/VapiMetadataPrivilegeOperationInfo.md +0 -9
- data/docs/VapiMetadataPrivilegePackageInfo.md +0 -9
- data/docs/VapiMetadataPrivilegePackageInfoServices.md +0 -9
- data/docs/VapiMetadataPrivilegePackageListResult.md +0 -8
- data/docs/VapiMetadataPrivilegePackageResult.md +0 -8
- data/docs/VapiMetadataPrivilegePrivilegeInfo.md +0 -9
- data/docs/VapiMetadataPrivilegeServiceInfo.md +0 -8
- data/docs/VapiMetadataPrivilegeServiceInfoOperations.md +0 -9
- data/docs/VapiMetadataPrivilegeServiceListResult.md +0 -8
- data/docs/VapiMetadataPrivilegeServiceOperationGet.md +0 -8
- data/docs/VapiMetadataPrivilegeServiceOperationListResult.md +0 -8
- data/docs/VapiMetadataPrivilegeServiceOperationResult.md +0 -8
- data/docs/VapiMetadataPrivilegeServiceResult.md +0 -8
- data/docs/VapiRestNavigationComponentInfo.md +0 -10
- data/docs/VapiRestNavigationComponentListResult.md +0 -8
- data/docs/VapiRestNavigationHttpMethod.md +0 -7
- data/docs/VapiRestNavigationLink.md +0 -10
- data/docs/VapiRestNavigationOperation.md +0 -12
- data/docs/VapiRestNavigationOptionsGet.md +0 -9
- data/docs/VapiRestNavigationOptionsResult.md +0 -8
- data/docs/VapiRestNavigationReference.md +0 -9
- data/docs/VapiRestNavigationResourceInfo.md +0 -11
- data/docs/VapiRestNavigationResourceListResult.md +0 -8
- data/docs/VapiRestNavigationResourceResult.md +0 -8
- data/docs/VapiRestNavigationRootInfo.md +0 -9
- data/docs/VapiRestNavigationRootResult.md +0 -8
- data/docs/VapiRestNavigationServiceInfo.md +0 -12
- data/docs/VapiRestNavigationServiceListResult.md +0 -8
- data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
- data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
- data/docs/VapiStdErrorsNotFound.md +0 -9
- data/docs/VapiStdErrorsNotFoundError.md +0 -9
- data/docs/VapiStdErrorsServiceUnavailable.md +0 -9
- data/docs/VapiStdErrorsServiceUnavailableError.md +0 -9
- data/docs/VapiStdErrorsUnauthenticated.md +0 -9
- data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
- data/docs/VapiStdErrorsUnauthorized.md +0 -9
- data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
- data/docs/VapiStdLocalizableMessage.md +0 -10
- data/docs/VcenterActivationApi.md +0 -58
- data/git_push.sh +0 -55
- data/lib/vsphere-automation-vapi/api_client.rb +0 -260
- data/lib/vsphere-automation-vapi/api_error.rb +0 -34
- data/lib/vsphere-automation-vapi/configuration.rb +0 -212
- data/pkg/vsphere-automation-vapi-0.4.1.gem +0 -0
- data/pkg/vsphere-automation-vapi-0.4.2.gem +0 -0
- data/pkg/vsphere-automation-vapi-0.4.3.gem +0 -0
- data/pkg/vsphere-automation-vapi-0.4.4.gem +0 -0
- data/spec/api/metadata_authentication_component_api_spec.rb +0 -63
- data/spec/api/metadata_authentication_package_api_spec.rb +0 -52
- data/spec/api/metadata_authentication_service_api_spec.rb +0 -52
- data/spec/api/metadata_authentication_service_operation_api_spec.rb +0 -54
- data/spec/api/metadata_cli_command_api_spec.rb +0 -63
- data/spec/api/metadata_cli_namespace_api_spec.rb +0 -62
- data/spec/api/metadata_metamodel_component_api_spec.rb +0 -63
- data/spec/api/metadata_metamodel_enumeration_api_spec.rb +0 -52
- data/spec/api/metadata_metamodel_package_api_spec.rb +0 -52
- data/spec/api/metadata_metamodel_resource_api_spec.rb +0 -41
- data/spec/api/metadata_metamodel_resource_model_api_spec.rb +0 -42
- data/spec/api/metadata_metamodel_service_api_spec.rb +0 -52
- data/spec/api/metadata_metamodel_service_operation_api_spec.rb +0 -54
- data/spec/api/metadata_metamodel_structure_api_spec.rb +0 -52
- data/spec/api/metadata_privilege_component_api_spec.rb +0 -63
- data/spec/api/metadata_privilege_package_api_spec.rb +0 -52
- data/spec/api/metadata_privilege_service_api_spec.rb +0 -52
- data/spec/api/metadata_privilege_service_operation_api_spec.rb +0 -54
- data/spec/api/rest_navigation_component_api_spec.rb +0 -42
- data/spec/api/rest_navigation_options_api_spec.rb +0 -42
- data/spec/api/rest_navigation_resource_api_spec.rb +0 -55
- data/spec/api/rest_navigation_root_api_spec.rb +0 -42
- data/spec/api/rest_navigation_service_api_spec.rb +0 -43
- data/spec/api/vcenter_activation_api_spec.rb +0 -42
- data/spec/api_client_spec.rb +0 -248
- data/spec/configuration_spec.rb +0 -38
- data/spec/models/vapi_metadata_authentication_authentication_info_scheme_type_spec.rb +0 -31
- data/spec/models/vapi_metadata_authentication_authentication_info_spec.rb +0 -49
- data/spec/models/vapi_metadata_authentication_component_data_spec.rb +0 -43
- data/spec/models/vapi_metadata_authentication_component_fingerprint_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_component_info_packages_spec.rb +0 -43
- data/spec/models/vapi_metadata_authentication_component_info_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_component_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_component_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_operation_info_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_package_info_services_spec.rb +0 -43
- data/spec/models/vapi_metadata_authentication_package_info_spec.rb +0 -43
- data/spec/models/vapi_metadata_authentication_package_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_package_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_service_info_operations_spec.rb +0 -43
- data/spec/models/vapi_metadata_authentication_service_info_spec.rb +0 -43
- data/spec/models/vapi_metadata_authentication_service_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_service_operation_get_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_service_operation_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_service_operation_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_authentication_service_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_cli_command_fingerprint_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_cli_command_formatter_type_spec.rb +0 -31
- data/spec/models/vapi_metadata_cli_command_generic_type_spec.rb +0 -31
- data/spec/models/vapi_metadata_cli_command_get_spec.rb +0 -37
- data/spec/models/vapi_metadata_cli_command_identity_spec.rb +0 -43
- data/spec/models/vapi_metadata_cli_command_info_spec.rb +0 -73
- data/spec/models/vapi_metadata_cli_command_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_cli_command_option_info_spec.rb +0 -67
- data/spec/models/vapi_metadata_cli_command_output_field_info_spec.rb +0 -43
- data/spec/models/vapi_metadata_cli_command_output_info_spec.rb +0 -43
- data/spec/models/vapi_metadata_cli_command_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_cli_namespace_fingerprint_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_cli_namespace_get_spec.rb +0 -37
- data/spec/models/vapi_metadata_cli_namespace_identity_spec.rb +0 -43
- data/spec/models/vapi_metadata_cli_namespace_info_spec.rb +0 -49
- data/spec/models/vapi_metadata_cli_namespace_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_cli_namespace_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_component_data_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_component_fingerprint_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_component_info_metadata_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_component_info_packages_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_component_info_spec.rb +0 -55
- data/spec/models/vapi_metadata_metamodel_component_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_component_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_constant_info_spec.rb +0 -49
- data/spec/models/vapi_metadata_metamodel_constant_value_category_spec.rb +0 -31
- data/spec/models/vapi_metadata_metamodel_constant_value_spec.rb +0 -49
- data/spec/models/vapi_metadata_metamodel_element_map_elements_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_element_map_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_element_value_spec.rb +0 -67
- data/spec/models/vapi_metadata_metamodel_element_value_type_spec.rb +0 -31
- data/spec/models/vapi_metadata_metamodel_enumeration_info_spec.rb +0 -55
- data/spec/models/vapi_metadata_metamodel_enumeration_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_enumeration_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_enumeration_value_info_spec.rb +0 -49
- data/spec/models/vapi_metadata_metamodel_error_info_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_field_info_spec.rb +0 -55
- data/spec/models/vapi_metadata_metamodel_generic_instantiation_generic_type_spec.rb +0 -31
- data/spec/models/vapi_metadata_metamodel_generic_instantiation_spec.rb +0 -55
- data/spec/models/vapi_metadata_metamodel_operation_info_spec.rb +0 -67
- data/spec/models/vapi_metadata_metamodel_operation_result_info_spec.rb +0 -49
- data/spec/models/vapi_metadata_metamodel_package_info_enumerations_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_package_info_services_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_package_info_spec.rb +0 -67
- data/spec/models/vapi_metadata_metamodel_package_info_structures_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_package_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_package_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_primitive_value_spec.rb +0 -61
- data/spec/models/vapi_metadata_metamodel_primitive_value_type_spec.rb +0 -31
- data/spec/models/vapi_metadata_metamodel_resource_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_resource_model_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_service_info_constants_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_service_info_operations_spec.rb +0 -43
- data/spec/models/vapi_metadata_metamodel_service_info_spec.rb +0 -73
- data/spec/models/vapi_metadata_metamodel_service_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_service_operation_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_service_operation_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_service_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_structure_info_spec.rb +0 -73
- data/spec/models/vapi_metadata_metamodel_structure_info_type_spec.rb +0 -31
- data/spec/models/vapi_metadata_metamodel_structure_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_structure_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_metamodel_type_builtin_type_spec.rb +0 -31
- data/spec/models/vapi_metadata_metamodel_type_category_spec.rb +0 -31
- data/spec/models/vapi_metadata_metamodel_type_spec.rb +0 -55
- data/spec/models/vapi_metadata_metamodel_user_defined_type_spec.rb +0 -43
- data/spec/models/vapi_metadata_privilege_component_data_spec.rb +0 -43
- data/spec/models/vapi_metadata_privilege_component_fingerprint_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_component_info_packages_spec.rb +0 -43
- data/spec/models/vapi_metadata_privilege_component_info_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_component_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_component_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_operation_info_spec.rb +0 -43
- data/spec/models/vapi_metadata_privilege_package_info_services_spec.rb +0 -43
- data/spec/models/vapi_metadata_privilege_package_info_spec.rb +0 -43
- data/spec/models/vapi_metadata_privilege_package_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_package_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_privilege_info_spec.rb +0 -43
- data/spec/models/vapi_metadata_privilege_service_info_operations_spec.rb +0 -43
- data/spec/models/vapi_metadata_privilege_service_info_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_service_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_service_operation_get_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_service_operation_list_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_service_operation_result_spec.rb +0 -37
- data/spec/models/vapi_metadata_privilege_service_result_spec.rb +0 -37
- data/spec/models/vapi_rest_navigation_component_info_spec.rb +0 -49
- data/spec/models/vapi_rest_navigation_component_list_result_spec.rb +0 -37
- data/spec/models/vapi_rest_navigation_http_method_spec.rb +0 -31
- data/spec/models/vapi_rest_navigation_link_spec.rb +0 -49
- data/spec/models/vapi_rest_navigation_operation_spec.rb +0 -61
- data/spec/models/vapi_rest_navigation_options_get_spec.rb +0 -43
- data/spec/models/vapi_rest_navigation_options_result_spec.rb +0 -37
- data/spec/models/vapi_rest_navigation_reference_spec.rb +0 -43
- data/spec/models/vapi_rest_navigation_resource_info_spec.rb +0 -55
- data/spec/models/vapi_rest_navigation_resource_list_result_spec.rb +0 -37
- data/spec/models/vapi_rest_navigation_resource_result_spec.rb +0 -37
- data/spec/models/vapi_rest_navigation_root_info_spec.rb +0 -43
- data/spec/models/vapi_rest_navigation_root_result_spec.rb +0 -37
- data/spec/models/vapi_rest_navigation_service_info_spec.rb +0 -61
- data/spec/models/vapi_rest_navigation_service_list_result_spec.rb +0 -37
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
- data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_service_unavailable_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
- data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
- data/spec/spec_helper.rb +0 -110
- data/vsphere-automation-vapi.gemspec +0 -40
@@ -1,55 +0,0 @@
|
|
1
|
-
# VSphereAutomation::VAPI::MetadataMetamodelResourceApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://<vcenter>/rest*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**list**](MetadataMetamodelResourceApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/resource | Returns the set of resource types present across all the service elements contained in all the package elements.
|
8
|
-
|
9
|
-
|
10
|
-
# **list**
|
11
|
-
> VapiMetadataMetamodelResourceListResult list
|
12
|
-
|
13
|
-
Returns the set of resource types present across all the service elements contained in all the package elements.
|
14
|
-
|
15
|
-
### Example
|
16
|
-
```ruby
|
17
|
-
# load the gem
|
18
|
-
require 'vsphere-automation-vapi'
|
19
|
-
# setup authorization
|
20
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
21
|
-
# Configure API key authorization: api_key
|
22
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
23
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
24
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
25
|
-
end
|
26
|
-
|
27
|
-
api_instance = VSphereAutomation::VAPI::MetadataMetamodelResourceApi.new
|
28
|
-
|
29
|
-
begin
|
30
|
-
#Returns the set of resource types present across all the service elements contained in all the package elements.
|
31
|
-
result = api_instance.list
|
32
|
-
p result
|
33
|
-
rescue VSphereAutomation::ApiError => e
|
34
|
-
puts "Exception when calling MetadataMetamodelResourceApi->list: #{e}"
|
35
|
-
end
|
36
|
-
```
|
37
|
-
|
38
|
-
### Parameters
|
39
|
-
This endpoint does not need any parameter.
|
40
|
-
|
41
|
-
### Return type
|
42
|
-
|
43
|
-
[**VapiMetadataMetamodelResourceListResult**](VapiMetadataMetamodelResourceListResult.md)
|
44
|
-
|
45
|
-
### Authorization
|
46
|
-
|
47
|
-
[api_key](../README.md#api_key)
|
48
|
-
|
49
|
-
### HTTP request headers
|
50
|
-
|
51
|
-
- **Content-Type**: Not defined
|
52
|
-
- **Accept**: application/json
|
53
|
-
|
54
|
-
|
55
|
-
|
@@ -1,59 +0,0 @@
|
|
1
|
-
# VSphereAutomation::VAPI::MetadataMetamodelResourceModelApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://<vcenter>/rest*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**list**](MetadataMetamodelResourceModelApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/resource/model | Returns the set of identifiers for the structure elements that are models for the resource type corresponding to {@param.name resourceId}. <p> The {@link vapi.metadata.metamodel.Structure} {@term service} provides {@term operations} to retrieve more details about the structure elements corresponding to the identifiers returned by this {@term operation}.
|
8
|
-
|
9
|
-
|
10
|
-
# **list**
|
11
|
-
> VapiMetadataMetamodelResourceModelListResult list(resource_id)
|
12
|
-
|
13
|
-
Returns the set of identifiers for the structure elements that are models for the resource type corresponding to {@param.name resourceId}. <p> The {@link vapi.metadata.metamodel.Structure} {@term service} provides {@term operations} to retrieve more details about the structure elements corresponding to the identifiers returned by this {@term operation}.
|
14
|
-
|
15
|
-
### Example
|
16
|
-
```ruby
|
17
|
-
# load the gem
|
18
|
-
require 'vsphere-automation-vapi'
|
19
|
-
# setup authorization
|
20
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
21
|
-
# Configure API key authorization: api_key
|
22
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
23
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
24
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
25
|
-
end
|
26
|
-
|
27
|
-
api_instance = VSphereAutomation::VAPI::MetadataMetamodelResourceModelApi.new
|
28
|
-
resource_id = 'resource_id_example' # String | Identifier of the resource type.
|
29
|
-
|
30
|
-
begin
|
31
|
-
#Returns the set of identifiers for the structure elements that are models for the resource type corresponding to {@param.name resourceId}. <p> The {@link vapi.metadata.metamodel.Structure} {@term service} provides {@term operations} to retrieve more details about the structure elements corresponding to the identifiers returned by this {@term operation}.
|
32
|
-
result = api_instance.list(resource_id)
|
33
|
-
p result
|
34
|
-
rescue VSphereAutomation::ApiError => e
|
35
|
-
puts "Exception when calling MetadataMetamodelResourceModelApi->list: #{e}"
|
36
|
-
end
|
37
|
-
```
|
38
|
-
|
39
|
-
### Parameters
|
40
|
-
|
41
|
-
Name | Type | Description | Notes
|
42
|
-
------------- | ------------- | ------------- | -------------
|
43
|
-
**resource_id** | **String**| Identifier of the resource type. |
|
44
|
-
|
45
|
-
### Return type
|
46
|
-
|
47
|
-
[**VapiMetadataMetamodelResourceModelListResult**](VapiMetadataMetamodelResourceModelListResult.md)
|
48
|
-
|
49
|
-
### Authorization
|
50
|
-
|
51
|
-
[api_key](../README.md#api_key)
|
52
|
-
|
53
|
-
### HTTP request headers
|
54
|
-
|
55
|
-
- **Content-Type**: Not defined
|
56
|
-
- **Accept**: application/json
|
57
|
-
|
58
|
-
|
59
|
-
|
@@ -1,106 +0,0 @@
|
|
1
|
-
# VSphereAutomation::VAPI::MetadataMetamodelServiceApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://<vcenter>/rest*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get**](MetadataMetamodelServiceApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/service/id:{service_id} | Retrieves information about the service element corresponding to {@param.name serviceId}. <p> The {@link ServiceInfo} contains the metamodel information for the operation elements, structure elements and enumeration elements contained in the service element.
|
8
|
-
[**list**](MetadataMetamodelServiceApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/service | Returns the identifiers for the service elements that are currently registered with the infrastructure. <p> The list of service elements is an aggregate list of all the service elements contained in all the package elements.
|
9
|
-
|
10
|
-
|
11
|
-
# **get**
|
12
|
-
> VapiMetadataMetamodelServiceResult get(service_id)
|
13
|
-
|
14
|
-
Retrieves information about the service element corresponding to {@param.name serviceId}. <p> The {@link ServiceInfo} contains the metamodel information for the operation elements, structure elements and enumeration elements contained in the service element.
|
15
|
-
|
16
|
-
### Example
|
17
|
-
```ruby
|
18
|
-
# load the gem
|
19
|
-
require 'vsphere-automation-vapi'
|
20
|
-
# setup authorization
|
21
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
22
|
-
# Configure API key authorization: api_key
|
23
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
24
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
25
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
26
|
-
end
|
27
|
-
|
28
|
-
api_instance = VSphereAutomation::VAPI::MetadataMetamodelServiceApi.new
|
29
|
-
service_id = 'service_id_example' # String | Identifier of the service element.
|
30
|
-
|
31
|
-
begin
|
32
|
-
#Retrieves information about the service element corresponding to {@param.name serviceId}. <p> The {@link ServiceInfo} contains the metamodel information for the operation elements, structure elements and enumeration elements contained in the service element.
|
33
|
-
result = api_instance.get(service_id)
|
34
|
-
p result
|
35
|
-
rescue VSphereAutomation::ApiError => e
|
36
|
-
puts "Exception when calling MetadataMetamodelServiceApi->get: #{e}"
|
37
|
-
end
|
38
|
-
```
|
39
|
-
|
40
|
-
### Parameters
|
41
|
-
|
42
|
-
Name | Type | Description | Notes
|
43
|
-
------------- | ------------- | ------------- | -------------
|
44
|
-
**service_id** | **String**| Identifier of the service element. |
|
45
|
-
|
46
|
-
### Return type
|
47
|
-
|
48
|
-
[**VapiMetadataMetamodelServiceResult**](VapiMetadataMetamodelServiceResult.md)
|
49
|
-
|
50
|
-
### Authorization
|
51
|
-
|
52
|
-
[api_key](../README.md#api_key)
|
53
|
-
|
54
|
-
### HTTP request headers
|
55
|
-
|
56
|
-
- **Content-Type**: Not defined
|
57
|
-
- **Accept**: application/json
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
# **list**
|
62
|
-
> VapiMetadataMetamodelServiceListResult list
|
63
|
-
|
64
|
-
Returns the identifiers for the service elements that are currently registered with the infrastructure. <p> The list of service elements is an aggregate list of all the service elements contained in all the package elements.
|
65
|
-
|
66
|
-
### Example
|
67
|
-
```ruby
|
68
|
-
# load the gem
|
69
|
-
require 'vsphere-automation-vapi'
|
70
|
-
# setup authorization
|
71
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
72
|
-
# Configure API key authorization: api_key
|
73
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
74
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
75
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
76
|
-
end
|
77
|
-
|
78
|
-
api_instance = VSphereAutomation::VAPI::MetadataMetamodelServiceApi.new
|
79
|
-
|
80
|
-
begin
|
81
|
-
#Returns the identifiers for the service elements that are currently registered with the infrastructure. <p> The list of service elements is an aggregate list of all the service elements contained in all the package elements.
|
82
|
-
result = api_instance.list
|
83
|
-
p result
|
84
|
-
rescue VSphereAutomation::ApiError => e
|
85
|
-
puts "Exception when calling MetadataMetamodelServiceApi->list: #{e}"
|
86
|
-
end
|
87
|
-
```
|
88
|
-
|
89
|
-
### Parameters
|
90
|
-
This endpoint does not need any parameter.
|
91
|
-
|
92
|
-
### Return type
|
93
|
-
|
94
|
-
[**VapiMetadataMetamodelServiceListResult**](VapiMetadataMetamodelServiceListResult.md)
|
95
|
-
|
96
|
-
### Authorization
|
97
|
-
|
98
|
-
[api_key](../README.md#api_key)
|
99
|
-
|
100
|
-
### HTTP request headers
|
101
|
-
|
102
|
-
- **Content-Type**: Not defined
|
103
|
-
- **Accept**: application/json
|
104
|
-
|
105
|
-
|
106
|
-
|
@@ -1,112 +0,0 @@
|
|
1
|
-
# VSphereAutomation::VAPI::MetadataMetamodelServiceOperationApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://<vcenter>/rest*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get**](MetadataMetamodelServiceOperationApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/service/operation/id:{service_id}/id:{operation_id} | Retrieves the metamodel information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
8
|
-
[**list**](MetadataMetamodelServiceOperationApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/service/operation | Returns the identifiers for the operation elements that are defined in the scope of {@param.name serviceId}.
|
9
|
-
|
10
|
-
|
11
|
-
# **get**
|
12
|
-
> VapiMetadataMetamodelServiceOperationResult get(service_id, operation_id)
|
13
|
-
|
14
|
-
Retrieves the metamodel information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
15
|
-
|
16
|
-
### Example
|
17
|
-
```ruby
|
18
|
-
# load the gem
|
19
|
-
require 'vsphere-automation-vapi'
|
20
|
-
# setup authorization
|
21
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
22
|
-
# Configure API key authorization: api_key
|
23
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
24
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
25
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
26
|
-
end
|
27
|
-
|
28
|
-
api_instance = VSphereAutomation::VAPI::MetadataMetamodelServiceOperationApi.new
|
29
|
-
service_id = 'service_id_example' # String | Identifier of the service element.
|
30
|
-
operation_id = 'operation_id_example' # String | Identifier of the operation element.
|
31
|
-
|
32
|
-
begin
|
33
|
-
#Retrieves the metamodel information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
34
|
-
result = api_instance.get(service_id, operation_id)
|
35
|
-
p result
|
36
|
-
rescue VSphereAutomation::ApiError => e
|
37
|
-
puts "Exception when calling MetadataMetamodelServiceOperationApi->get: #{e}"
|
38
|
-
end
|
39
|
-
```
|
40
|
-
|
41
|
-
### Parameters
|
42
|
-
|
43
|
-
Name | Type | Description | Notes
|
44
|
-
------------- | ------------- | ------------- | -------------
|
45
|
-
**service_id** | **String**| Identifier of the service element. |
|
46
|
-
**operation_id** | **String**| Identifier of the operation element. |
|
47
|
-
|
48
|
-
### Return type
|
49
|
-
|
50
|
-
[**VapiMetadataMetamodelServiceOperationResult**](VapiMetadataMetamodelServiceOperationResult.md)
|
51
|
-
|
52
|
-
### Authorization
|
53
|
-
|
54
|
-
[api_key](../README.md#api_key)
|
55
|
-
|
56
|
-
### HTTP request headers
|
57
|
-
|
58
|
-
- **Content-Type**: Not defined
|
59
|
-
- **Accept**: application/json
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
# **list**
|
64
|
-
> VapiMetadataMetamodelServiceOperationListResult list(service_id)
|
65
|
-
|
66
|
-
Returns the identifiers for the operation elements that are defined in the scope of {@param.name serviceId}.
|
67
|
-
|
68
|
-
### Example
|
69
|
-
```ruby
|
70
|
-
# load the gem
|
71
|
-
require 'vsphere-automation-vapi'
|
72
|
-
# setup authorization
|
73
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
74
|
-
# Configure API key authorization: api_key
|
75
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
76
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
77
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
78
|
-
end
|
79
|
-
|
80
|
-
api_instance = VSphereAutomation::VAPI::MetadataMetamodelServiceOperationApi.new
|
81
|
-
service_id = 'service_id_example' # String | Identifier of the service element.
|
82
|
-
|
83
|
-
begin
|
84
|
-
#Returns the identifiers for the operation elements that are defined in the scope of {@param.name serviceId}.
|
85
|
-
result = api_instance.list(service_id)
|
86
|
-
p result
|
87
|
-
rescue VSphereAutomation::ApiError => e
|
88
|
-
puts "Exception when calling MetadataMetamodelServiceOperationApi->list: #{e}"
|
89
|
-
end
|
90
|
-
```
|
91
|
-
|
92
|
-
### Parameters
|
93
|
-
|
94
|
-
Name | Type | Description | Notes
|
95
|
-
------------- | ------------- | ------------- | -------------
|
96
|
-
**service_id** | **String**| Identifier of the service element. |
|
97
|
-
|
98
|
-
### Return type
|
99
|
-
|
100
|
-
[**VapiMetadataMetamodelServiceOperationListResult**](VapiMetadataMetamodelServiceOperationListResult.md)
|
101
|
-
|
102
|
-
### Authorization
|
103
|
-
|
104
|
-
[api_key](../README.md#api_key)
|
105
|
-
|
106
|
-
### HTTP request headers
|
107
|
-
|
108
|
-
- **Content-Type**: Not defined
|
109
|
-
- **Accept**: application/json
|
110
|
-
|
111
|
-
|
112
|
-
|
@@ -1,106 +0,0 @@
|
|
1
|
-
# VSphereAutomation::VAPI::MetadataMetamodelStructureApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://<vcenter>/rest*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get**](MetadataMetamodelStructureApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/structure/id:{structure_id} | Retrieves information about the structure element corresponding to {@param.name structureId}. <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.
|
8
|
-
[**list**](MetadataMetamodelStructureApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/structure | Returns the identifiers for the structure elements that are contained in all the package elements and service elements.
|
9
|
-
|
10
|
-
|
11
|
-
# **get**
|
12
|
-
> VapiMetadataMetamodelStructureResult get(structure_id)
|
13
|
-
|
14
|
-
Retrieves information about the structure element corresponding to {@param.name structureId}. <p> The {@link StructureInfo} contains the metamodel information about the structure element. It contains information about all the field elements and enumeration elements contained in this structure element.
|
15
|
-
|
16
|
-
### Example
|
17
|
-
```ruby
|
18
|
-
# load the gem
|
19
|
-
require 'vsphere-automation-vapi'
|
20
|
-
# setup authorization
|
21
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
22
|
-
# Configure API key authorization: api_key
|
23
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
24
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
25
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
26
|
-
end
|
27
|
-
|
28
|
-
api_instance = VSphereAutomation::VAPI::MetadataMetamodelStructureApi.new
|
29
|
-
structure_id = 'structure_id_example' # String | Identifier of the structure element.
|
30
|
-
|
31
|
-
begin
|
32
|
-
#Retrieves information about the structure element corresponding to {@param.name structureId}. <p> The {@link StructureInfo} contains the metamodel information about the structure element. It contains information about all the field elements and enumeration elements contained in this structure element.
|
33
|
-
result = api_instance.get(structure_id)
|
34
|
-
p result
|
35
|
-
rescue VSphereAutomation::ApiError => e
|
36
|
-
puts "Exception when calling MetadataMetamodelStructureApi->get: #{e}"
|
37
|
-
end
|
38
|
-
```
|
39
|
-
|
40
|
-
### Parameters
|
41
|
-
|
42
|
-
Name | Type | Description | Notes
|
43
|
-
------------- | ------------- | ------------- | -------------
|
44
|
-
**structure_id** | **String**| Identifier of the structure element. |
|
45
|
-
|
46
|
-
### Return type
|
47
|
-
|
48
|
-
[**VapiMetadataMetamodelStructureResult**](VapiMetadataMetamodelStructureResult.md)
|
49
|
-
|
50
|
-
### Authorization
|
51
|
-
|
52
|
-
[api_key](../README.md#api_key)
|
53
|
-
|
54
|
-
### HTTP request headers
|
55
|
-
|
56
|
-
- **Content-Type**: Not defined
|
57
|
-
- **Accept**: application/json
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
# **list**
|
62
|
-
> VapiMetadataMetamodelStructureListResult list
|
63
|
-
|
64
|
-
Returns the identifiers for the structure elements that are contained in all the package elements and service elements.
|
65
|
-
|
66
|
-
### Example
|
67
|
-
```ruby
|
68
|
-
# load the gem
|
69
|
-
require 'vsphere-automation-vapi'
|
70
|
-
# setup authorization
|
71
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
72
|
-
# Configure API key authorization: api_key
|
73
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
74
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
75
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
76
|
-
end
|
77
|
-
|
78
|
-
api_instance = VSphereAutomation::VAPI::MetadataMetamodelStructureApi.new
|
79
|
-
|
80
|
-
begin
|
81
|
-
#Returns the identifiers for the structure elements that are contained in all the package elements and service elements.
|
82
|
-
result = api_instance.list
|
83
|
-
p result
|
84
|
-
rescue VSphereAutomation::ApiError => e
|
85
|
-
puts "Exception when calling MetadataMetamodelStructureApi->list: #{e}"
|
86
|
-
end
|
87
|
-
```
|
88
|
-
|
89
|
-
### Parameters
|
90
|
-
This endpoint does not need any parameter.
|
91
|
-
|
92
|
-
### Return type
|
93
|
-
|
94
|
-
[**VapiMetadataMetamodelStructureListResult**](VapiMetadataMetamodelStructureListResult.md)
|
95
|
-
|
96
|
-
### Authorization
|
97
|
-
|
98
|
-
[api_key](../README.md#api_key)
|
99
|
-
|
100
|
-
### HTTP request headers
|
101
|
-
|
102
|
-
- **Content-Type**: Not defined
|
103
|
-
- **Accept**: application/json
|
104
|
-
|
105
|
-
|
106
|
-
|
@@ -1,157 +0,0 @@
|
|
1
|
-
# VSphereAutomation::VAPI::MetadataPrivilegeComponentApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://<vcenter>/rest*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**fingerprint**](MetadataPrivilegeComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/privilege/component/id:{component_id}?~action=fingerprint | 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}.
|
8
|
-
[**get**](MetadataPrivilegeComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/privilege/component/id:{component_id} | Retrieves privilege information about the component element corresponding to {@param.name componentId}. <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.
|
9
|
-
[**list**](MetadataPrivilegeComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/component | Returns the identifiers for the component elements that have privilege information.
|
10
|
-
|
11
|
-
|
12
|
-
# **fingerprint**
|
13
|
-
> VapiMetadataPrivilegeComponentFingerprintResult fingerprint(component_id)
|
14
|
-
|
15
|
-
Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.privilege.Component#get}.
|
16
|
-
|
17
|
-
### Example
|
18
|
-
```ruby
|
19
|
-
# load the gem
|
20
|
-
require 'vsphere-automation-vapi'
|
21
|
-
# setup authorization
|
22
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
23
|
-
# Configure API key authorization: api_key
|
24
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
25
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
27
|
-
end
|
28
|
-
|
29
|
-
api_instance = VSphereAutomation::VAPI::MetadataPrivilegeComponentApi.new
|
30
|
-
component_id = 'component_id_example' # String | Identifier of the component element.
|
31
|
-
|
32
|
-
begin
|
33
|
-
#Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.privilege.Component#get}.
|
34
|
-
result = api_instance.fingerprint(component_id)
|
35
|
-
p result
|
36
|
-
rescue VSphereAutomation::ApiError => e
|
37
|
-
puts "Exception when calling MetadataPrivilegeComponentApi->fingerprint: #{e}"
|
38
|
-
end
|
39
|
-
```
|
40
|
-
|
41
|
-
### Parameters
|
42
|
-
|
43
|
-
Name | Type | Description | Notes
|
44
|
-
------------- | ------------- | ------------- | -------------
|
45
|
-
**component_id** | **String**| Identifier of the component element. |
|
46
|
-
|
47
|
-
### Return type
|
48
|
-
|
49
|
-
[**VapiMetadataPrivilegeComponentFingerprintResult**](VapiMetadataPrivilegeComponentFingerprintResult.md)
|
50
|
-
|
51
|
-
### Authorization
|
52
|
-
|
53
|
-
[api_key](../README.md#api_key)
|
54
|
-
|
55
|
-
### HTTP request headers
|
56
|
-
|
57
|
-
- **Content-Type**: Not defined
|
58
|
-
- **Accept**: application/json
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
# **get**
|
63
|
-
> VapiMetadataPrivilegeComponentResult get(component_id)
|
64
|
-
|
65
|
-
Retrieves privilege information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
|
66
|
-
|
67
|
-
### Example
|
68
|
-
```ruby
|
69
|
-
# load the gem
|
70
|
-
require 'vsphere-automation-vapi'
|
71
|
-
# setup authorization
|
72
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
73
|
-
# Configure API key authorization: api_key
|
74
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
75
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
76
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
77
|
-
end
|
78
|
-
|
79
|
-
api_instance = VSphereAutomation::VAPI::MetadataPrivilegeComponentApi.new
|
80
|
-
component_id = 'component_id_example' # String | Identifier of the component element.
|
81
|
-
|
82
|
-
begin
|
83
|
-
#Retrieves privilege information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
|
84
|
-
result = api_instance.get(component_id)
|
85
|
-
p result
|
86
|
-
rescue VSphereAutomation::ApiError => e
|
87
|
-
puts "Exception when calling MetadataPrivilegeComponentApi->get: #{e}"
|
88
|
-
end
|
89
|
-
```
|
90
|
-
|
91
|
-
### Parameters
|
92
|
-
|
93
|
-
Name | Type | Description | Notes
|
94
|
-
------------- | ------------- | ------------- | -------------
|
95
|
-
**component_id** | **String**| Identifier of the component element. |
|
96
|
-
|
97
|
-
### Return type
|
98
|
-
|
99
|
-
[**VapiMetadataPrivilegeComponentResult**](VapiMetadataPrivilegeComponentResult.md)
|
100
|
-
|
101
|
-
### Authorization
|
102
|
-
|
103
|
-
[api_key](../README.md#api_key)
|
104
|
-
|
105
|
-
### HTTP request headers
|
106
|
-
|
107
|
-
- **Content-Type**: Not defined
|
108
|
-
- **Accept**: application/json
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
# **list**
|
113
|
-
> VapiMetadataPrivilegeComponentListResult list
|
114
|
-
|
115
|
-
Returns the identifiers for the component elements that have privilege information.
|
116
|
-
|
117
|
-
### Example
|
118
|
-
```ruby
|
119
|
-
# load the gem
|
120
|
-
require 'vsphere-automation-vapi'
|
121
|
-
# setup authorization
|
122
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
123
|
-
# Configure API key authorization: api_key
|
124
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
125
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
126
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
127
|
-
end
|
128
|
-
|
129
|
-
api_instance = VSphereAutomation::VAPI::MetadataPrivilegeComponentApi.new
|
130
|
-
|
131
|
-
begin
|
132
|
-
#Returns the identifiers for the component elements that have privilege information.
|
133
|
-
result = api_instance.list
|
134
|
-
p result
|
135
|
-
rescue VSphereAutomation::ApiError => e
|
136
|
-
puts "Exception when calling MetadataPrivilegeComponentApi->list: #{e}"
|
137
|
-
end
|
138
|
-
```
|
139
|
-
|
140
|
-
### Parameters
|
141
|
-
This endpoint does not need any parameter.
|
142
|
-
|
143
|
-
### Return type
|
144
|
-
|
145
|
-
[**VapiMetadataPrivilegeComponentListResult**](VapiMetadataPrivilegeComponentListResult.md)
|
146
|
-
|
147
|
-
### Authorization
|
148
|
-
|
149
|
-
[api_key](../README.md#api_key)
|
150
|
-
|
151
|
-
### HTTP request headers
|
152
|
-
|
153
|
-
- **Content-Type**: Not defined
|
154
|
-
- **Accept**: application/json
|
155
|
-
|
156
|
-
|
157
|
-
|