Module: VSphereAutomation

Defined in:
lib/vsphere-automation-cis.rb,
lib/vsphere-automation-cis/version.rb,
lib/vsphere-automation-cis/api_error.rb,
lib/vsphere-automation-cis/api_client.rb,
lib/vsphere-automation-cis/api/tasks_api.rb,
lib/vsphere-automation-cis/configuration.rb,
lib/vsphere-automation-cis/api/session_api.rb,
lib/vsphere-automation-cis/api/tagging_tag_api.rb,
lib/vsphere-automation-cis/models/cis_task_info.rb,
lib/vsphere-automation-cis/models/cis_task_status.rb,
lib/vsphere-automation-cis/models/cis_session_info.rb,
lib/vsphere-automation-cis/models/cis_tasks_result.rb,
lib/vsphere-automation-cis/api/tagging_category_api.rb,
lib/vsphere-automation-cis/models/cis_task_progress.rb,
lib/vsphere-automation-cis/models/cis_session_result.rb,
lib/vsphere-automation-cis/models/cis_tasks_get_spec.rb,
lib/vsphere-automation-cis/models/filter_spec_targets.rb,
lib/vsphere-automation-cis/models/vapi_std_dynamic_id.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_model.rb,
lib/vsphere-automation-cis/models/cis_tasks_filter_spec.rb,
lib/vsphere-automation-cis/models/cis_tasks_list_result.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_error.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_create.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_update.rb,
lib/vsphere-automation-cis/api/tagging_tag_association_api.rb,
lib/vsphere-automation-cis/models/cis_session_create_result.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_not_found.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_model.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_create.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_update.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_create_spec.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_list_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_update_spec.rb,
lib/vsphere-automation-cis/models/cis_tasks_list_result_value.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_error_error.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_unsupported.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized.rb,
lib/vsphere-automation-cis/models/vapi_std_localizable_message.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_create_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_add_to_used_by.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_already_exists.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_not_found_error.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_create_spec.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_list_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_update_spec.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_unsupported_error.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_create_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_unauthorized_error.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_add_to_used_by.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_remove_from_used_by.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_already_exists_error.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_list_used_tags_result.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_unauthenticated_error.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_model_cardinality.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_invalid_argument_error.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_remove_from_used_by.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_batch_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_service_unavailable_error.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_object_to_tags.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_tag_to_objects.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_resource_inaccessible_error.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_list_tags_for_category_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags.rb,
lib/vsphere-automation-cis/models/cis_tagging_category_list_used_categories_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags.rb,
lib/vsphere-automation-cis/models/vapi_std_errors_not_allowed_in_current_state_error.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attachable_tags_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_objects_on_tags_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_list_attached_tags_on_objects_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result.rb,
lib/vsphere-automation-cis/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result.rb

Defined Under Namespace

Modules: CIS Classes: ApiClient, ApiError, Configuration

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

VSphereAutomation.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



114
115
116
117
118
119
120
# File 'lib/vsphere-automation-cis.rb', line 114

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end