vsphere-automation-cis 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-cis/version.rb +1 -1
- metadata +6 -286
- data/Gemfile +0 -13
- data/Gemfile.lock +0 -78
- data/README.md +0 -180
- data/Rakefile +0 -18
- data/docs/CisSessionCreateResult.md +0 -8
- data/docs/CisSessionInfo.md +0 -10
- data/docs/CisSessionResult.md +0 -8
- data/docs/CisTaggingCategoryAddToUsedBy.md +0 -8
- data/docs/CisTaggingCategoryCreate.md +0 -8
- data/docs/CisTaggingCategoryCreateResult.md +0 -8
- data/docs/CisTaggingCategoryCreateSpec.md +0 -12
- data/docs/CisTaggingCategoryListResult.md +0 -8
- data/docs/CisTaggingCategoryListUsedCategories.md +0 -8
- data/docs/CisTaggingCategoryListUsedCategoriesResult.md +0 -8
- data/docs/CisTaggingCategoryModel.md +0 -13
- data/docs/CisTaggingCategoryModelCardinality.md +0 -7
- data/docs/CisTaggingCategoryRemoveFromUsedBy.md +0 -8
- data/docs/CisTaggingCategoryResult.md +0 -8
- data/docs/CisTaggingCategoryUpdate.md +0 -8
- data/docs/CisTaggingCategoryUpdateSpec.md +0 -11
- data/docs/CisTaggingTagAddToUsedBy.md +0 -8
- data/docs/CisTaggingTagAssociationAttach.md +0 -8
- data/docs/CisTaggingTagAssociationAttachMultipleTagsToObject.md +0 -9
- data/docs/CisTaggingTagAssociationAttachMultipleTagsToObjectResult.md +0 -8
- data/docs/CisTaggingTagAssociationAttachTagToMultipleObjects.md +0 -8
- data/docs/CisTaggingTagAssociationAttachTagToMultipleObjectsResult.md +0 -8
- data/docs/CisTaggingTagAssociationBatchResult.md +0 -9
- data/docs/CisTaggingTagAssociationDetach.md +0 -8
- data/docs/CisTaggingTagAssociationDetachMultipleTagsFromObject.md +0 -9
- data/docs/CisTaggingTagAssociationDetachMultipleTagsFromObjectResult.md +0 -8
- data/docs/CisTaggingTagAssociationDetachTagFromMultipleObjects.md +0 -8
- data/docs/CisTaggingTagAssociationDetachTagFromMultipleObjectsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachableTags.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachableTagsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedObjectsOnTags.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedObjectsOnTagsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedObjectsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedTags.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedTagsOnObjects.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedTagsOnObjectsResult.md +0 -8
- data/docs/CisTaggingTagAssociationListAttachedTagsResult.md +0 -8
- data/docs/CisTaggingTagAssociationObjectToTags.md +0 -9
- data/docs/CisTaggingTagAssociationTagToObjects.md +0 -9
- data/docs/CisTaggingTagCreate.md +0 -8
- data/docs/CisTaggingTagCreateResult.md +0 -8
- data/docs/CisTaggingTagCreateSpec.md +0 -11
- data/docs/CisTaggingTagListResult.md +0 -8
- data/docs/CisTaggingTagListTagsForCategoryResult.md +0 -8
- data/docs/CisTaggingTagListUsedTags.md +0 -8
- data/docs/CisTaggingTagListUsedTagsResult.md +0 -8
- data/docs/CisTaggingTagModel.md +0 -12
- data/docs/CisTaggingTagRemoveFromUsedBy.md +0 -8
- data/docs/CisTaggingTagResult.md +0 -8
- data/docs/CisTaggingTagUpdate.md +0 -8
- data/docs/CisTaggingTagUpdateSpec.md +0 -9
- data/docs/CisTaskInfo.md +0 -19
- data/docs/CisTaskProgress.md +0 -10
- data/docs/CisTaskStatus.md +0 -7
- data/docs/CisTasksFilterSpec.md +0 -12
- data/docs/CisTasksGetSpec.md +0 -9
- data/docs/CisTasksListResult.md +0 -8
- data/docs/CisTasksListResultValue.md +0 -9
- data/docs/CisTasksResult.md +0 -8
- data/docs/FilterSpecTargets.md +0 -9
- data/docs/SessionApi.md +0 -151
- data/docs/TaggingCategoryApi.md +0 -464
- data/docs/TaggingTagApi.md +0 -515
- data/docs/TaggingTagAssociationApi.md +0 -575
- data/docs/TasksApi.md +0 -180
- data/docs/VapiStdDynamicID.md +0 -9
- data/docs/VapiStdErrorsAlreadyExists.md +0 -9
- data/docs/VapiStdErrorsAlreadyExistsError.md +0 -9
- data/docs/VapiStdErrorsError.md +0 -9
- data/docs/VapiStdErrorsErrorError.md +0 -9
- data/docs/VapiStdErrorsInvalidArgument.md +0 -9
- data/docs/VapiStdErrorsInvalidArgumentError.md +0 -9
- 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/VapiStdErrorsResourceInaccessible.md +0 -9
- data/docs/VapiStdErrorsResourceInaccessibleError.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/VapiStdErrorsUnsupported.md +0 -9
- data/docs/VapiStdErrorsUnsupportedError.md +0 -9
- data/docs/VapiStdLocalizableMessage.md +0 -10
- data/git_push.sh +0 -55
- data/lib/vsphere-automation-cis/api_client.rb +0 -260
- data/lib/vsphere-automation-cis/api_error.rb +0 -34
- data/lib/vsphere-automation-cis/configuration.rb +0 -212
- data/pkg/vsphere-automation-cis-0.4.1.gem +0 -0
- data/pkg/vsphere-automation-cis-0.4.2.gem +0 -0
- data/pkg/vsphere-automation-cis-0.4.3.gem +0 -0
- data/pkg/vsphere-automation-cis-0.4.4.gem +0 -0
- data/pkg/vsphere-automation-cis-0.4.5.gem +0 -0
- data/spec/api/session_api_spec.rb +0 -62
- data/spec/api/tagging_category_api_spec.rb +0 -132
- data/spec/api/tagging_tag_api_spec.rb +0 -143
- data/spec/api/tagging_tag_association_api_spec.rb +0 -156
- data/spec/api/tasks_api_spec.rb +0 -72
- data/spec/api_client_spec.rb +0 -248
- data/spec/configuration_spec.rb +0 -38
- data/spec/models/cis_session_create_result_spec.rb +0 -37
- data/spec/models/cis_session_info_spec.rb +0 -49
- data/spec/models/cis_session_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_add_to_used_by_spec.rb +0 -37
- data/spec/models/cis_tagging_category_create_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_create_spec.rb +0 -37
- data/spec/models/cis_tagging_category_create_spec_spec.rb +0 -61
- data/spec/models/cis_tagging_category_list_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_list_used_categories_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_list_used_categories_spec.rb +0 -37
- data/spec/models/cis_tagging_category_model_cardinality_spec.rb +0 -31
- data/spec/models/cis_tagging_category_model_spec.rb +0 -67
- data/spec/models/cis_tagging_category_remove_from_used_by_spec.rb +0 -37
- data/spec/models/cis_tagging_category_result_spec.rb +0 -37
- data/spec/models/cis_tagging_category_update_spec.rb +0 -37
- data/spec/models/cis_tagging_category_update_spec_spec.rb +0 -55
- data/spec/models/cis_tagging_tag_add_to_used_by_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_association_attach_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_batch_result_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_association_detach_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attachable_tags_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attachable_tags_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_objects_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_tags_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_list_attached_tags_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_association_object_to_tags_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_association_tag_to_objects_spec.rb +0 -43
- data/spec/models/cis_tagging_tag_create_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_create_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_create_spec_spec.rb +0 -55
- data/spec/models/cis_tagging_tag_list_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_list_tags_for_category_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_list_used_tags_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_list_used_tags_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_model_spec.rb +0 -61
- data/spec/models/cis_tagging_tag_remove_from_used_by_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_result_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_update_spec.rb +0 -37
- data/spec/models/cis_tagging_tag_update_spec_spec.rb +0 -43
- data/spec/models/cis_task_info_spec.rb +0 -103
- data/spec/models/cis_task_progress_spec.rb +0 -49
- data/spec/models/cis_task_status_spec.rb +0 -31
- data/spec/models/cis_tasks_filter_spec_spec.rb +0 -61
- data/spec/models/cis_tasks_get_spec_spec.rb +0 -43
- data/spec/models/cis_tasks_list_result_spec.rb +0 -37
- data/spec/models/cis_tasks_list_result_value_spec.rb +0 -43
- data/spec/models/cis_tasks_result_spec.rb +0 -37
- data/spec/models/filter_spec_targets_spec.rb +0 -43
- data/spec/models/vapi_std_dynamic_id_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_exists_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_already_exists_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_invalid_argument_spec.rb +0 -43
- 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_resource_inaccessible_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_resource_inaccessible_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_errors_unsupported_error_spec.rb +0 -43
- data/spec/models/vapi_std_errors_unsupported_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-cis.gemspec +0 -39
data/README.md
DELETED
@@ -1,180 +0,0 @@
|
|
1
|
-
# vsphere-automation-cis
|
2
|
-
|
3
|
-
The Ruby gem for the vSphere CIS API
|
4
|
-
|
5
|
-
- API version: 2.0.0
|
6
|
-
- Package version: 0.4.5
|
7
|
-
|
8
|
-
## Installation
|
9
|
-
|
10
|
-
Add this line to your application's Gemfile:
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
gem 'vsphere-automation-cis'
|
14
|
-
```
|
15
|
-
|
16
|
-
And then execute:
|
17
|
-
|
18
|
-
$ bundle
|
19
|
-
|
20
|
-
Or install it yourself as:
|
21
|
-
|
22
|
-
$ gem install vsphere-automation-cis
|
23
|
-
|
24
|
-
## Getting Started
|
25
|
-
|
26
|
-
Please follow the [installation](#installation) procedure and then run the following code:
|
27
|
-
|
28
|
-
```ruby
|
29
|
-
# Load the gem
|
30
|
-
require 'vsphere-automation-cis'
|
31
|
-
|
32
|
-
# Setup authorization
|
33
|
-
VSphereAutomation.configure do |config|
|
34
|
-
# Configure HTTP basic authorization: basic_auth
|
35
|
-
config.username = 'YOUR USERNAME'
|
36
|
-
config.password = 'YOUR PASSWORD'
|
37
|
-
end
|
38
|
-
|
39
|
-
api_instance = VSphereAutomation::CIS::SessionApi.new
|
40
|
-
vmware_use_header_authn = 'vmware_use_header_authn_example' # String | Custom header to protect against CSRF attacks in browser based clients
|
41
|
-
|
42
|
-
begin
|
43
|
-
#Creates a session with the API. This is the equivalent of login. This operation exchanges user credentials supplied in the security context for a session identifier that is to be used for authenticating subsequent calls. To authenticate subsequent calls clients are expected to include the session key.
|
44
|
-
result = api_instance.create(vmware_use_header_authn)
|
45
|
-
p result
|
46
|
-
rescue VSphereAutomation::ApiError => e
|
47
|
-
puts "Exception when calling SessionApi->create: #{e}"
|
48
|
-
end
|
49
|
-
|
50
|
-
```
|
51
|
-
|
52
|
-
## Documentation for API Endpoints
|
53
|
-
|
54
|
-
All URIs are relative to *https://<vcenter>/rest*
|
55
|
-
|
56
|
-
Class | Method | HTTP request | Description
|
57
|
-
------------ | ------------- | ------------- | -------------
|
58
|
-
`VSphereAutomation::CIS::SessionApi` | [**create**](docs/SessionApi.md#create) | **POST** /com/vmware/cis/session | Creates a session with the API. This is the equivalent of login. This operation exchanges user credentials supplied in the security context for a session identifier that is to be used for authenticating subsequent calls. To authenticate subsequent calls clients are expected to include the session key.
|
59
|
-
`VSphereAutomation::CIS::SessionApi` | [**delete**](docs/SessionApi.md#delete) | **DELETE** /com/vmware/cis/session | Terminates the validity of a session token. This is the equivalent of log out. A session identifier is expected as part of the request.
|
60
|
-
`VSphereAutomation::CIS::SessionApi` | [**get**](docs/SessionApi.md#get) | **POST** /com/vmware/cis/session?~action=get | Returns information about the current session. This operation expects a valid session identifier to be supplied. A side effect of invoking this operation may be a change to the session's last accessed time to the current time if this is supported by the session implementation. Invoking any other operation in the API will also update the session's last accessed time. This API is meant to serve the needs of various front end projects that may want to display the name of the user. Examples of this include various web based user interfaces and logging facilities.
|
61
|
-
`VSphereAutomation::CIS::TaggingCategoryApi` | [**add_to_used_by**](docs/TaggingCategoryApi.md#add_to_used_by) | **POST** /com/vmware/cis/tagging/category/id:{category_id}?~action=add-to-used-by | Adds the {@param.name usedByEntity} to the {@link CategoryModel#usedBy} subscribers {@term set} for the specified category. If the {@param.name usedByEntity} is already in the {@term set}, then this becomes an idempotent no-op. To invoke this {@term operation}, you need the modify {@link CategoryModel#usedBy} privilege on the category.
|
62
|
-
`VSphereAutomation::CIS::TaggingCategoryApi` | [**create**](docs/TaggingCategoryApi.md#create) | **POST** /com/vmware/cis/tagging/category | Creates a category. To invoke this {@term operation}, you need the create category privilege.
|
63
|
-
`VSphereAutomation::CIS::TaggingCategoryApi` | [**delete**](docs/TaggingCategoryApi.md#delete) | **DELETE** /com/vmware/cis/tagging/category/id:{category_id} | Deletes an existing category. To invoke this {@term operation}, you need the delete privilege on the category.
|
64
|
-
`VSphereAutomation::CIS::TaggingCategoryApi` | [**get**](docs/TaggingCategoryApi.md#get) | **GET** /com/vmware/cis/tagging/category/id:{category_id} | Fetches the category information for the given category identifier. In order to view the category information, you need the read privilege on the category.
|
65
|
-
`VSphereAutomation::CIS::TaggingCategoryApi` | [**list**](docs/TaggingCategoryApi.md#list) | **GET** /com/vmware/cis/tagging/category | Enumerates the categories in the system. To invoke this {@term operation}, you need the read privilege on the individual categories. The {@term list} will only contain those categories for which you have read privileges.
|
66
|
-
`VSphereAutomation::CIS::TaggingCategoryApi` | [**list_used_categories**](docs/TaggingCategoryApi.md#list_used_categories) | **POST** /com/vmware/cis/tagging/category?~action=list-used-categories | Enumerates all categories for which the {@param.name usedByEntity} is part of the {@link CategoryModel#usedBy} subscribers {@term set}. To invoke this {@term operation}, you need the read privilege on the individual categories.
|
67
|
-
`VSphereAutomation::CIS::TaggingCategoryApi` | [**remove_from_used_by**](docs/TaggingCategoryApi.md#remove_from_used_by) | **POST** /com/vmware/cis/tagging/category/id:{category_id}?~action=remove-from-used-by | Removes the {@param.name usedByEntity} from the {@link CategoryModel#usedBy} subscribers {@term set}. If the {@param.name usedByEntity} is not using this category, then this becomes a no-op. To invoke this {@term operation}, you need the modify {@link CategoryModel#usedBy} privilege on the category.
|
68
|
-
`VSphereAutomation::CIS::TaggingCategoryApi` | [**revoke_propagating_permissions**](docs/TaggingCategoryApi.md#revoke_propagating_permissions) | **POST** /com/vmware/cis/tagging/category/id:{category_id}?~action=revoke-propagating-permissions | Revokes all propagating permissions on the given category. You should then attach a direct permission with tagging privileges on the given category. To invoke this {@term operation}, you need category related privileges (direct or propagating) on the concerned category.
|
69
|
-
`VSphereAutomation::CIS::TaggingCategoryApi` | [**update**](docs/TaggingCategoryApi.md#update) | **PATCH** /com/vmware/cis/tagging/category/id:{category_id} | Updates an existing category. To invoke this {@term operation}, you need the edit privilege on the category.
|
70
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**add_to_used_by**](docs/TaggingTagApi.md#add_to_used_by) | **POST** /com/vmware/cis/tagging/tag/id:{tag_id}?~action=add-to-used-by | Adds the {@param.name usedByEntity} to the {@link TagModel#usedBy} subscribers {@term set}. If the {@param.name usedByEntity} is already in the {@term set}, then this becomes a no-op. To invoke this {@term operation}, you need the modify {@link TagModel#usedBy} privilege on the tag.
|
71
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**create**](docs/TaggingTagApi.md#create) | **POST** /com/vmware/cis/tagging/tag | Creates a tag. To invoke this {@term operation}, you need the create tag privilege on the input category.
|
72
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**delete**](docs/TaggingTagApi.md#delete) | **DELETE** /com/vmware/cis/tagging/tag/id:{tag_id} | Deletes an existing tag. To invoke this {@term operation}, you need the delete privilege on the tag.
|
73
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**get**](docs/TaggingTagApi.md#get) | **GET** /com/vmware/cis/tagging/tag/id:{tag_id} | Fetches the tag information for the given tag identifier. To invoke this {@term operation}, you need the read privilege on the tag in order to view the tag info.
|
74
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**list**](docs/TaggingTagApi.md#list) | **GET** /com/vmware/cis/tagging/tag | Enumerates the tags in the system. To invoke this {@term operation}, you need read privilege on the individual tags. The {@term list} will only contain tags for which you have read privileges.
|
75
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**list_tags_for_category**](docs/TaggingTagApi.md#list_tags_for_category) | **POST** /com/vmware/cis/tagging/tag/id:{category_id}?~action=list-tags-for-category | Enumerates all tags for the given category. To invoke this {@term operation}, you need the read privilege on the given category and the individual tags in that category.
|
76
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**list_used_tags**](docs/TaggingTagApi.md#list_used_tags) | **POST** /com/vmware/cis/tagging/tag?~action=list-used-tags | Enumerates all tags for which the {@param.name usedByEntity} is part of the {@link TagModel#usedBy} subscribers {@term set}. To invoke this {@term operation}, you need the read privilege on the individual tags.
|
77
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**remove_from_used_by**](docs/TaggingTagApi.md#remove_from_used_by) | **POST** /com/vmware/cis/tagging/tag/id:{tag_id}?~action=remove-from-used-by | Removes the {@param.name usedByEntity} from the {@link TagModel#usedBy} subscribers set. If the {@param.name usedByEntity} is not using this tag, then this becomes a no-op. To invoke this {@term operation}, you need modify {@link TagModel#usedBy} privilege on the tag.
|
78
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**revoke_propagating_permissions**](docs/TaggingTagApi.md#revoke_propagating_permissions) | **POST** /com/vmware/cis/tagging/tag/id:{tag_id}?~action=revoke-propagating-permissions | Revokes all propagating permissions on the given tag. You should then attach a direct permission with tagging privileges on the given tag. To invoke this {@term operation}, you need tag related privileges (direct or propagating) on the concerned tag.
|
79
|
-
`VSphereAutomation::CIS::TaggingTagApi` | [**update**](docs/TaggingTagApi.md#update) | **PATCH** /com/vmware/cis/tagging/tag/id:{tag_id} | Updates an existing tag. To invoke this {@term operation}, you need the edit privilege on the tag.
|
80
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**attach**](docs/TaggingTagAssociationApi.md#attach) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action=attach | Attaches the given tag to the input object. The tag needs to meet the cardinality ({@link CategoryModel#cardinality}) and associability ({@link CategoryModel#associableTypes}) criteria in order to be eligible for attachment. If the tag is already attached to the object, then this {@term operation} is a no-op and an error will not be thrown. To invoke this {@term operation}, you need the attach tag privilege on the tag and the read privilege on the object.
|
81
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**attach_multiple_tags_to_object**](docs/TaggingTagAssociationApi.md#attach_multiple_tags_to_object) | **POST** /com/vmware/cis/tagging/tag-association?~action=attach-multiple-tags-to-object | Attaches the given tags to the input object. If a tag is already attached to the object, then the individual {@term operation} is a no-op and an error will not be added to {@link BatchResult#errorMessages}. To invoke this {@term operation}, you need the read privilege on the object and the attach tag privilege on each tag.
|
82
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**attach_tag_to_multiple_objects**](docs/TaggingTagAssociationApi.md#attach_tag_to_multiple_objects) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action=attach-tag-to-multiple-objects | Attaches the given tag to the input objects. If a tag is already attached to the object, then the individual {@term operation} is a no-op and an error will not be added to {@link BatchResult#errorMessages}. To invoke this {@term operation}, you need the attach tag privilege on the tag and the read privilege on each object.
|
83
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**detach**](docs/TaggingTagAssociationApi.md#detach) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action=detach | Detaches the tag from the given object. If the tag is already removed from the object, then this {@term operation} is a no-op and an error will not be thrown. To invoke this {@term operation}, you need the attach tag privilege on the tag and the read privilege on the object.
|
84
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**detach_multiple_tags_from_object**](docs/TaggingTagAssociationApi.md#detach_multiple_tags_from_object) | **POST** /com/vmware/cis/tagging/tag-association?~action=detach-multiple-tags-from-object | Detaches the given tags from the input object. If a tag is already removed from the object, then the individual {@term operation} is a no-op and an error will not be added to {@link BatchResult#errorMessages}. To invoke this {@term operation}, you need the read privilege on the object and the attach tag privilege each tag.
|
85
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**detach_tag_from_multiple_objects**](docs/TaggingTagAssociationApi.md#detach_tag_from_multiple_objects) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action=detach-tag-from-multiple-objects | Detaches the given tag from the input objects. If a tag is already removed from the object, then the individual {@term operation} is a no-op and an error will not be added to {@link BatchResult#errorMessages}. To invoke this {@term operation}, you need the attach tag privilege on the tag and the read privilege on each object.
|
86
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attachable_tags**](docs/TaggingTagAssociationApi.md#list_attachable_tags) | **POST** /com/vmware/cis/tagging/tag-association?~action=list-attachable-tags | Fetches the {@term list} of attachable tags for the given object, omitting the tags that have already been attached. Criteria for attachability is calculated based on tagging cardinality ({@link CategoryModel#cardinality}) and associability ({@link CategoryModel#associableTypes}) constructs. To invoke this {@term operation}, you need the read privilege on the input object. The {@term list} will only contain those tags for which you have read privileges.
|
87
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attached_objects**](docs/TaggingTagAssociationApi.md#list_attached_objects) | **POST** /com/vmware/cis/tagging/tag-association/id:{tag_id}?~action=list-attached-objects | Fetches the {@term list} of attached objects for the given tag. To invoke this {@term operation}, you need the read privilege on the input tag. Only those objects for which you have the read privilege will be returned.
|
88
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attached_objects_on_tags**](docs/TaggingTagAssociationApi.md#list_attached_objects_on_tags) | **POST** /com/vmware/cis/tagging/tag-association?~action=list-attached-objects-on-tags | Fetches the {@term list} of {@link TagToObjects} describing the input tag identifiers and the objects they are attached to. To invoke this {@term operation}, you need the read privilege on each input tag. The {@link TagToObjects#objectIds} will only contain those objects for which you have the read privilege.
|
89
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attached_tags**](docs/TaggingTagAssociationApi.md#list_attached_tags) | **POST** /com/vmware/cis/tagging/tag-association?~action=list-attached-tags | Fetches the {@term list} of tags attached to the given object. To invoke this {@term operation}, you need the read privilege on the input object. The {@term list} will only contain those tags for which you have the read privileges.
|
90
|
-
`VSphereAutomation::CIS::TaggingTagAssociationApi` | [**list_attached_tags_on_objects**](docs/TaggingTagAssociationApi.md#list_attached_tags_on_objects) | **POST** /com/vmware/cis/tagging/tag-association?~action=list-attached-tags-on-objects | Fetches the {@term list} of {@link ObjectToTags} describing the input object identifiers and the tags attached to each object. To invoke this {@term operation}, you need the read privilege on each input object. The {@link ObjectToTags#tagIds} will only contain those tags for which you have the read privilege.
|
91
|
-
`VSphereAutomation::CIS::TasksApi` | [**cancel**](docs/TasksApi.md#cancel) | **POST** /cis/tasks/{task}?action=cancel | Cancel a running operation associated with the task. This is the best effort attempt. Operation may not be cancelled anymore once it reaches certain stage.
|
92
|
-
`VSphereAutomation::CIS::TasksApi` | [**get**](docs/TasksApi.md#get) | **GET** /cis/tasks/{task} | Returns information about a task.
|
93
|
-
`VSphereAutomation::CIS::TasksApi` | [**list**](docs/TasksApi.md#list) | **GET** /cis/tasks | Returns information about at most 1000 visible (subject to permission checks) tasks matching the Tasks.FilterSpec. All tasks must be in the same provider.
|
94
|
-
|
95
|
-
|
96
|
-
## Documentation for Models
|
97
|
-
|
98
|
-
- [VSphereAutomation::CIS::CisSessionCreateResult](docs/CisSessionCreateResult.md)
|
99
|
-
- [VSphereAutomation::CIS::CisSessionInfo](docs/CisSessionInfo.md)
|
100
|
-
- [VSphereAutomation::CIS::CisSessionResult](docs/CisSessionResult.md)
|
101
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryAddToUsedBy](docs/CisTaggingCategoryAddToUsedBy.md)
|
102
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryCreate](docs/CisTaggingCategoryCreate.md)
|
103
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryCreateResult](docs/CisTaggingCategoryCreateResult.md)
|
104
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryCreateSpec](docs/CisTaggingCategoryCreateSpec.md)
|
105
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryListResult](docs/CisTaggingCategoryListResult.md)
|
106
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryListUsedCategories](docs/CisTaggingCategoryListUsedCategories.md)
|
107
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryListUsedCategoriesResult](docs/CisTaggingCategoryListUsedCategoriesResult.md)
|
108
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryModel](docs/CisTaggingCategoryModel.md)
|
109
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryModelCardinality](docs/CisTaggingCategoryModelCardinality.md)
|
110
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryRemoveFromUsedBy](docs/CisTaggingCategoryRemoveFromUsedBy.md)
|
111
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryResult](docs/CisTaggingCategoryResult.md)
|
112
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryUpdate](docs/CisTaggingCategoryUpdate.md)
|
113
|
-
- [VSphereAutomation::CIS::CisTaggingCategoryUpdateSpec](docs/CisTaggingCategoryUpdateSpec.md)
|
114
|
-
- [VSphereAutomation::CIS::CisTaggingTagAddToUsedBy](docs/CisTaggingTagAddToUsedBy.md)
|
115
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationAttach](docs/CisTaggingTagAssociationAttach.md)
|
116
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationAttachMultipleTagsToObject](docs/CisTaggingTagAssociationAttachMultipleTagsToObject.md)
|
117
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationAttachMultipleTagsToObjectResult](docs/CisTaggingTagAssociationAttachMultipleTagsToObjectResult.md)
|
118
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationAttachTagToMultipleObjects](docs/CisTaggingTagAssociationAttachTagToMultipleObjects.md)
|
119
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationAttachTagToMultipleObjectsResult](docs/CisTaggingTagAssociationAttachTagToMultipleObjectsResult.md)
|
120
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationBatchResult](docs/CisTaggingTagAssociationBatchResult.md)
|
121
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationDetach](docs/CisTaggingTagAssociationDetach.md)
|
122
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationDetachMultipleTagsFromObject](docs/CisTaggingTagAssociationDetachMultipleTagsFromObject.md)
|
123
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationDetachMultipleTagsFromObjectResult](docs/CisTaggingTagAssociationDetachMultipleTagsFromObjectResult.md)
|
124
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationDetachTagFromMultipleObjects](docs/CisTaggingTagAssociationDetachTagFromMultipleObjects.md)
|
125
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationDetachTagFromMultipleObjectsResult](docs/CisTaggingTagAssociationDetachTagFromMultipleObjectsResult.md)
|
126
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationListAttachableTags](docs/CisTaggingTagAssociationListAttachableTags.md)
|
127
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationListAttachableTagsResult](docs/CisTaggingTagAssociationListAttachableTagsResult.md)
|
128
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedObjectsOnTags](docs/CisTaggingTagAssociationListAttachedObjectsOnTags.md)
|
129
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedObjectsOnTagsResult](docs/CisTaggingTagAssociationListAttachedObjectsOnTagsResult.md)
|
130
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedObjectsResult](docs/CisTaggingTagAssociationListAttachedObjectsResult.md)
|
131
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedTags](docs/CisTaggingTagAssociationListAttachedTags.md)
|
132
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedTagsOnObjects](docs/CisTaggingTagAssociationListAttachedTagsOnObjects.md)
|
133
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedTagsOnObjectsResult](docs/CisTaggingTagAssociationListAttachedTagsOnObjectsResult.md)
|
134
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedTagsResult](docs/CisTaggingTagAssociationListAttachedTagsResult.md)
|
135
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationObjectToTags](docs/CisTaggingTagAssociationObjectToTags.md)
|
136
|
-
- [VSphereAutomation::CIS::CisTaggingTagAssociationTagToObjects](docs/CisTaggingTagAssociationTagToObjects.md)
|
137
|
-
- [VSphereAutomation::CIS::CisTaggingTagCreate](docs/CisTaggingTagCreate.md)
|
138
|
-
- [VSphereAutomation::CIS::CisTaggingTagCreateResult](docs/CisTaggingTagCreateResult.md)
|
139
|
-
- [VSphereAutomation::CIS::CisTaggingTagCreateSpec](docs/CisTaggingTagCreateSpec.md)
|
140
|
-
- [VSphereAutomation::CIS::CisTaggingTagListResult](docs/CisTaggingTagListResult.md)
|
141
|
-
- [VSphereAutomation::CIS::CisTaggingTagListTagsForCategoryResult](docs/CisTaggingTagListTagsForCategoryResult.md)
|
142
|
-
- [VSphereAutomation::CIS::CisTaggingTagListUsedTags](docs/CisTaggingTagListUsedTags.md)
|
143
|
-
- [VSphereAutomation::CIS::CisTaggingTagListUsedTagsResult](docs/CisTaggingTagListUsedTagsResult.md)
|
144
|
-
- [VSphereAutomation::CIS::CisTaggingTagModel](docs/CisTaggingTagModel.md)
|
145
|
-
- [VSphereAutomation::CIS::CisTaggingTagRemoveFromUsedBy](docs/CisTaggingTagRemoveFromUsedBy.md)
|
146
|
-
- [VSphereAutomation::CIS::CisTaggingTagResult](docs/CisTaggingTagResult.md)
|
147
|
-
- [VSphereAutomation::CIS::CisTaggingTagUpdate](docs/CisTaggingTagUpdate.md)
|
148
|
-
- [VSphereAutomation::CIS::CisTaggingTagUpdateSpec](docs/CisTaggingTagUpdateSpec.md)
|
149
|
-
- [VSphereAutomation::CIS::CisTaskInfo](docs/CisTaskInfo.md)
|
150
|
-
- [VSphereAutomation::CIS::CisTaskProgress](docs/CisTaskProgress.md)
|
151
|
-
- [VSphereAutomation::CIS::CisTaskStatus](docs/CisTaskStatus.md)
|
152
|
-
- [VSphereAutomation::CIS::CisTasksFilterSpec](docs/CisTasksFilterSpec.md)
|
153
|
-
- [VSphereAutomation::CIS::CisTasksGetSpec](docs/CisTasksGetSpec.md)
|
154
|
-
- [VSphereAutomation::CIS::CisTasksListResult](docs/CisTasksListResult.md)
|
155
|
-
- [VSphereAutomation::CIS::CisTasksListResultValue](docs/CisTasksListResultValue.md)
|
156
|
-
- [VSphereAutomation::CIS::CisTasksResult](docs/CisTasksResult.md)
|
157
|
-
- [VSphereAutomation::CIS::FilterSpecTargets](docs/FilterSpecTargets.md)
|
158
|
-
- [VSphereAutomation::CIS::VapiStdDynamicID](docs/VapiStdDynamicID.md)
|
159
|
-
- [VSphereAutomation::CIS::VapiStdErrorsAlreadyExists](docs/VapiStdErrorsAlreadyExists.md)
|
160
|
-
- [VSphereAutomation::CIS::VapiStdErrorsAlreadyExistsError](docs/VapiStdErrorsAlreadyExistsError.md)
|
161
|
-
- [VSphereAutomation::CIS::VapiStdErrorsError](docs/VapiStdErrorsError.md)
|
162
|
-
- [VSphereAutomation::CIS::VapiStdErrorsErrorError](docs/VapiStdErrorsErrorError.md)
|
163
|
-
- [VSphereAutomation::CIS::VapiStdErrorsInvalidArgument](docs/VapiStdErrorsInvalidArgument.md)
|
164
|
-
- [VSphereAutomation::CIS::VapiStdErrorsInvalidArgumentError](docs/VapiStdErrorsInvalidArgumentError.md)
|
165
|
-
- [VSphereAutomation::CIS::VapiStdErrorsNotAllowedInCurrentState](docs/VapiStdErrorsNotAllowedInCurrentState.md)
|
166
|
-
- [VSphereAutomation::CIS::VapiStdErrorsNotAllowedInCurrentStateError](docs/VapiStdErrorsNotAllowedInCurrentStateError.md)
|
167
|
-
- [VSphereAutomation::CIS::VapiStdErrorsNotFound](docs/VapiStdErrorsNotFound.md)
|
168
|
-
- [VSphereAutomation::CIS::VapiStdErrorsNotFoundError](docs/VapiStdErrorsNotFoundError.md)
|
169
|
-
- [VSphereAutomation::CIS::VapiStdErrorsResourceInaccessible](docs/VapiStdErrorsResourceInaccessible.md)
|
170
|
-
- [VSphereAutomation::CIS::VapiStdErrorsResourceInaccessibleError](docs/VapiStdErrorsResourceInaccessibleError.md)
|
171
|
-
- [VSphereAutomation::CIS::VapiStdErrorsServiceUnavailable](docs/VapiStdErrorsServiceUnavailable.md)
|
172
|
-
- [VSphereAutomation::CIS::VapiStdErrorsServiceUnavailableError](docs/VapiStdErrorsServiceUnavailableError.md)
|
173
|
-
- [VSphereAutomation::CIS::VapiStdErrorsUnauthenticated](docs/VapiStdErrorsUnauthenticated.md)
|
174
|
-
- [VSphereAutomation::CIS::VapiStdErrorsUnauthenticatedError](docs/VapiStdErrorsUnauthenticatedError.md)
|
175
|
-
- [VSphereAutomation::CIS::VapiStdErrorsUnauthorized](docs/VapiStdErrorsUnauthorized.md)
|
176
|
-
- [VSphereAutomation::CIS::VapiStdErrorsUnauthorizedError](docs/VapiStdErrorsUnauthorizedError.md)
|
177
|
-
- [VSphereAutomation::CIS::VapiStdErrorsUnsupported](docs/VapiStdErrorsUnsupported.md)
|
178
|
-
- [VSphereAutomation::CIS::VapiStdErrorsUnsupportedError](docs/VapiStdErrorsUnsupportedError.md)
|
179
|
-
- [VSphereAutomation::CIS::VapiStdLocalizableMessage](docs/VapiStdLocalizableMessage.md)
|
180
|
-
|
data/Rakefile
DELETED
@@ -1,18 +0,0 @@
|
|
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
|
-
# cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
|
9
|
-
require "bundler/gem_tasks"
|
10
|
-
|
11
|
-
begin
|
12
|
-
require 'rspec/core/rake_task'
|
13
|
-
|
14
|
-
RSpec::Core::RakeTask.new(:spec)
|
15
|
-
task default: :spec
|
16
|
-
rescue LoadError
|
17
|
-
# no rspec available
|
18
|
-
end
|
data/docs/CisSessionInfo.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisSessionInfo
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**user** | **String** | Fully qualified name of the end user that created the session, for example Administrator@vsphere.local. A typical use case for this information is in Graphical User Interfaces (GUI) or logging systems to visualize the identity of the current user. |
|
7
|
-
**created_time** | **DateTime** | Time when the session was created. |
|
8
|
-
**last_accessed_time** | **DateTime** | Last time this session was used by passing the session key for invoking an API. |
|
9
|
-
|
10
|
-
|
data/docs/CisSessionResult.md
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingCategoryAddToUsedBy
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**used_by_entity** | **String** | The name of the user to be added to the {@link CategoryModel#usedBy} {@term set}. |
|
7
|
-
|
8
|
-
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingCategoryCreateSpec
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**name** | **String** | The display name of the category. |
|
7
|
-
**description** | **String** | The description of the category. |
|
8
|
-
**cardinality** | [**CisTaggingCategoryModelCardinality**](CisTaggingCategoryModelCardinality.md) | |
|
9
|
-
**associable_types** | **Array<String>** | Object types to which this category's tags can be attached. |
|
10
|
-
**category_id** | **String** | The identifier of the category. If specified, the category will be created with this identifier. This has to be of the category ManagedObject Id format urn:vmomi:InventoryServiceCategory:<id>:GLOBAL The <id> cannot contain special character ':' | [optional]
|
11
|
-
|
12
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingCategoryListUsedCategories
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**used_by_entity** | **String** | The field on which the results will be filtered. |
|
7
|
-
|
8
|
-
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingCategoryModel
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**id** | **String** | The unique identifier of the category. |
|
7
|
-
**name** | **String** | The display name of the category. |
|
8
|
-
**description** | **String** | The description of the category. |
|
9
|
-
**cardinality** | [**CisTaggingCategoryModelCardinality**](CisTaggingCategoryModelCardinality.md) | |
|
10
|
-
**associable_types** | **Array<String>** | The types of objects that the tags in this category can be attached to. If the {@term set} is empty, then tags can be attached to all types of objects. This field works only for objects that reside in Inventory Service (IS). For non IS objects, this check is not performed today and hence a tag can be attached to any non IS object. |
|
11
|
-
**used_by** | **Array<String>** | The {@term set} of users that can use this category. To add users to this, you need to have the edit privilege on the category. Similarly, to unsubscribe from this category, you need the edit privilege on the category. You should not modify other users subscription from this {@term set}. |
|
12
|
-
|
13
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingCategoryRemoveFromUsedBy
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**used_by_entity** | **String** | The name of the user to be removed from the {@link CategoryModel#usedBy} {@term set}. |
|
7
|
-
|
8
|
-
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingCategoryUpdateSpec
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**name** | **String** | The display name of the category. | [optional]
|
7
|
-
**description** | **String** | The description of the category. | [optional]
|
8
|
-
**cardinality** | [**CisTaggingCategoryModelCardinality**](CisTaggingCategoryModelCardinality.md) | | [optional]
|
9
|
-
**associable_types** | **Array<String>** | Object types to which this category's tags can be attached. <p> The {@term set} of associable types cannot be updated incrementally. For example, if {@link #associableTypes} originally contains {A,B,C} and you want to add D, then you need to pass {A,B,C,D} in your update specification. You also cannot remove any item from this {@term set}. For example, if you have {A,B,C}, then you cannot remove say {A} from it. Similarly, if you start with an empty {@term set}, then that implies that you can tag any object and hence you cannot later pass say {A}, because that would be restricting the type of objects you want to tag. Thus, associable types can only grow and not shrink. | [optional]
|
10
|
-
|
11
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAddToUsedBy
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**used_by_entity** | **String** | The name of the user to be added to the {@link TagModel#usedBy} {@term set}. |
|
7
|
-
|
8
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationAttachMultipleTagsToObject
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**object_id** | [**VapiStdDynamicID**](VapiStdDynamicID.md) | |
|
7
|
-
**tag_ids** | **Array<String>** | The identifiers of the input tags. |
|
8
|
-
|
9
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationAttachMultipleTagsToObjectResult
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**value** | [**CisTaggingTagAssociationBatchResult**](CisTaggingTagAssociationBatchResult.md) | |
|
7
|
-
|
8
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationAttachTagToMultipleObjects
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**object_ids** | [**Array<VapiStdDynamicID>**](VapiStdDynamicID.md) | The identifiers of the input objects. |
|
7
|
-
|
8
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationAttachTagToMultipleObjectsResult
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**value** | [**CisTaggingTagAssociationBatchResult**](CisTaggingTagAssociationBatchResult.md) | |
|
7
|
-
|
8
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationBatchResult
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**success** | **Boolean** | This is true if the batch {@term operation} completed without any errors. Otherwise it is false and all or some {@term operations} have failed. |
|
7
|
-
**error_messages** | [**Array<VapiStdLocalizableMessage>**](VapiStdLocalizableMessage.md) | The {@term list} of error messages. |
|
8
|
-
|
9
|
-
|