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
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationDetachMultipleTagsFromObject
|
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::CisTaggingTagAssociationDetachMultipleTagsFromObjectResult
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**value** | [**CisTaggingTagAssociationBatchResult**](CisTaggingTagAssociationBatchResult.md) | |
|
7
|
-
|
8
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationDetachTagFromMultipleObjects
|
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::CisTaggingTagAssociationDetachTagFromMultipleObjectsResult
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**value** | [**CisTaggingTagAssociationBatchResult**](CisTaggingTagAssociationBatchResult.md) | |
|
7
|
-
|
8
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedObjectsOnTags
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**tag_ids** | **Array<String>** | The identifiers of the input tags. |
|
7
|
-
|
8
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedObjectsOnTagsResult
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**value** | [**Array<CisTaggingTagAssociationTagToObjects>**](CisTaggingTagAssociationTagToObjects.md) | |
|
7
|
-
|
8
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedObjectsResult
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**value** | [**Array<VapiStdDynamicID>**](VapiStdDynamicID.md) | |
|
7
|
-
|
8
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationListAttachedTagsOnObjects
|
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::CisTaggingTagAssociationListAttachedTagsOnObjectsResult
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**value** | [**Array<CisTaggingTagAssociationObjectToTags>**](CisTaggingTagAssociationObjectToTags.md) | |
|
7
|
-
|
8
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationObjectToTags
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**object_id** | [**VapiStdDynamicID**](VapiStdDynamicID.md) | |
|
7
|
-
**tag_ids** | **Array<String>** | The identifiers of the related tags. |
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagAssociationTagToObjects
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**tag_id** | **String** | The identifier of the tag. |
|
7
|
-
**object_ids** | [**Array<VapiStdDynamicID>**](VapiStdDynamicID.md) | The identifiers of the related objects. |
|
8
|
-
|
9
|
-
|
data/docs/CisTaggingTagCreate.md
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagCreateSpec
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**name** | **String** | The display name of the tag. The name must be unique within its category. |
|
7
|
-
**description** | **String** | The description of the tag. |
|
8
|
-
**category_id** | **String** | The unique identifier of the parent category in which this tag will be created. |
|
9
|
-
**tag_id** | **String** | The identifier of the tag. If specified, tag will be created with the specified identifier. This has to be of the tag ManagedObject Id format urn:vmomi:InventoryServiceTag:<id>:GLOBAL The <id> cannot contain special character ':' | [optional]
|
10
|
-
|
11
|
-
|
data/docs/CisTaggingTagModel.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagModel
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**id** | **String** | The unique identifier of the tag. |
|
7
|
-
**category_id** | **String** | The identifier of the parent category in which this tag will be created. |
|
8
|
-
**name** | **String** | The display name of the tag. |
|
9
|
-
**description** | **String** | The description of the tag. |
|
10
|
-
**used_by** | **Array<String>** | The {@term set} of users that can use this tag. To add users to this, you need to have the edit privilege on the tag. Similarly, to unsubscribe from this tag, you need the edit privilege on the tag. You should not modify other users subscription from this {@term set}. |
|
11
|
-
|
12
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagRemoveFromUsedBy
|
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 TagModel#usedBy} {@term set}. |
|
7
|
-
|
8
|
-
|
data/docs/CisTaggingTagResult.md
DELETED
data/docs/CisTaggingTagUpdate.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaggingTagUpdateSpec
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**name** | **String** | The display name of the tag. | [optional]
|
7
|
-
**description** | **String** | The description of the tag. | [optional]
|
8
|
-
|
9
|
-
|
data/docs/CisTaskInfo.md
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaskInfo
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**progress** | [**CisTaskProgress**](CisTaskProgress.md) | | [optional]
|
7
|
-
**description** | [**VapiStdLocalizableMessage**](VapiStdLocalizableMessage.md) | |
|
8
|
-
**service** | **String** | Identifier of the service containing the operation. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: vapi.service. When operations return a value of this structure as a result, the field will be an identifier for the resource type: vapi.service. |
|
9
|
-
**operation** | **String** | Identifier of the operation associated with the task. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: vapi.operation. When operations return a value of this structure as a result, the field will be an identifier for the resource type: vapi.operation. |
|
10
|
-
**parent** | **String** | Parent of the current task. This field will be unset if the task has no parent. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: cis.task. When operations return a value of this structure as a result, the field will be an identifier for the resource type: cis.task. | [optional]
|
11
|
-
**target** | [**VapiStdDynamicID**](VapiStdDynamicID.md) | | [optional]
|
12
|
-
**status** | [**CisTaskStatus**](CisTaskStatus.md) | |
|
13
|
-
**cancelable** | **Boolean** | Flag to indicate whether or not the operation can be cancelled. The value may change as the operation progresses. |
|
14
|
-
**error** | **String** | Description of the error if the operation status is \"FAILED\". If unset the description of why the operation failed will be included in the result of the operation (see Info.result). | [optional]
|
15
|
-
**start_time** | **DateTime** | Time when the operation is started. This field is optional and it is only relevant when the value of CommonInfo.status is one of RUNNING, BLOCKED, SUCCEEDED, or FAILED. | [optional]
|
16
|
-
**end_time** | **DateTime** | Time when the operation is completed. This field is optional and it is only relevant when the value of CommonInfo.status is one of SUCCEEDED or FAILED. | [optional]
|
17
|
-
**user** | **String** | Name of the user who performed the operation. This field will be unset if the operation is performed by the system. | [optional]
|
18
|
-
|
19
|
-
|
data/docs/CisTaskProgress.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTaskProgress
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**total** | **Integer** | Total amount of the work for the operation. |
|
7
|
-
**completed** | **Integer** | The amount of work completed for the operation. The value can only be incremented. |
|
8
|
-
**message** | [**VapiStdLocalizableMessage**](VapiStdLocalizableMessage.md) | |
|
9
|
-
|
10
|
-
|
data/docs/CisTaskStatus.md
DELETED
data/docs/CisTasksFilterSpec.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTasksFilterSpec
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**tasks** | **Array<String>** | Identifiers of tasks that can match the filter. This field may be unset if Tasks.FilterSpec.services is specified. Currently all tasks must be from the same provider. If unset or empty, tasks with any identifier will match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: cis.task. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: cis.task. | [optional]
|
7
|
-
**services** | **Array<String>** | Identifiers of services. Tasks created by operations in these services match the filter (see CommonInfo.service). This field may be unset if Tasks.FilterSpec.tasks is specified. Currently all services must be from the same provider. If this field is unset or empty, tasks for all services will match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: vapi.service. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: vapi.service. | [optional]
|
8
|
-
**status** | [**Array<CisTaskStatus>**](CisTaskStatus.md) | Status that a task must have to match the filter (see CommonInfo.status). If unset or empty, tasks with any status match the filter. | [optional]
|
9
|
-
**targets** | [**Array<VapiStdDynamicID>**](VapiStdDynamicID.md) | Identifiers of the targets the operation for the associated task created or was performed on (see CommonInfo.target). If unset or empty, tasks associated with operations on any target match the filter. | [optional]
|
10
|
-
**users** | **Array<String>** | Users who must have initiated the operation for the associated task to match the filter (see CommonInfo.user). If unset or empty, tasks associated with operations initiated by any user match the filter. | [optional]
|
11
|
-
|
12
|
-
|
data/docs/CisTasksGetSpec.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTasksGetSpec
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**return_all** | **Boolean** | If true, all data, including operation-specific data, will be returned, otherwise only the data described in Info will be returned. If unset, only the data described in Info will be returned. | [optional]
|
7
|
-
**exclude_result** | **Boolean** | If true, the result will not be included in the task information, otherwise it will be included. If unset, the result of the operation will be included in the task information. | [optional]
|
8
|
-
|
9
|
-
|
data/docs/CisTasksListResult.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::CisTasksListResultValue
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**key** | **String** | | [optional]
|
7
|
-
**value** | [**CisTaskInfo**](CisTaskInfo.md) | | [optional]
|
8
|
-
|
9
|
-
|
data/docs/CisTasksResult.md
DELETED
data/docs/FilterSpecTargets.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::FilterSpecTargets
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | The type of resource being identified (for example {@code com.acme.Person}). <p> {@term Services} that contain {@term operations} for creating and deleting resources typically contain a {@term constant} specifying the resource type for the resources being created and deleted. The API metamodel metadata {@term services} include a {@term service} that allows retrieving all the known resource types. |
|
7
|
-
**id** | **String** | The identifier for a resource whose type is specified by {@link #type}. |
|
8
|
-
|
9
|
-
|
data/docs/SessionApi.md
DELETED
@@ -1,151 +0,0 @@
|
|
1
|
-
# VSphereAutomation::CIS::SessionApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://<vcenter>/rest*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**create**](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.
|
8
|
-
[**delete**](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.
|
9
|
-
[**get**](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.
|
10
|
-
|
11
|
-
|
12
|
-
# **create**
|
13
|
-
> CisSessionCreateResult create(vmware_use_header_authn)
|
14
|
-
|
15
|
-
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.
|
16
|
-
|
17
|
-
### Example
|
18
|
-
```ruby
|
19
|
-
# load the gem
|
20
|
-
require 'vsphere-automation-cis'
|
21
|
-
# setup authorization
|
22
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
23
|
-
# Configure HTTP basic authorization: basic_auth
|
24
|
-
config.username = 'YOUR USERNAME'
|
25
|
-
config.password = 'YOUR PASSWORD'
|
26
|
-
end
|
27
|
-
|
28
|
-
api_instance = VSphereAutomation::CIS::SessionApi.new
|
29
|
-
vmware_use_header_authn = 'vmware_use_header_authn_example' # String | Custom header to protect against CSRF attacks in browser based clients
|
30
|
-
|
31
|
-
begin
|
32
|
-
#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.
|
33
|
-
result = api_instance.create(vmware_use_header_authn)
|
34
|
-
p result
|
35
|
-
rescue VSphereAutomation::ApiError => e
|
36
|
-
puts "Exception when calling SessionApi->create: #{e}"
|
37
|
-
end
|
38
|
-
```
|
39
|
-
|
40
|
-
### Parameters
|
41
|
-
|
42
|
-
Name | Type | Description | Notes
|
43
|
-
------------- | ------------- | ------------- | -------------
|
44
|
-
**vmware_use_header_authn** | **String**| Custom header to protect against CSRF attacks in browser based clients |
|
45
|
-
|
46
|
-
### Return type
|
47
|
-
|
48
|
-
[**CisSessionCreateResult**](CisSessionCreateResult.md)
|
49
|
-
|
50
|
-
### Authorization
|
51
|
-
|
52
|
-
[basic_auth](../README.md#basic_auth)
|
53
|
-
|
54
|
-
### HTTP request headers
|
55
|
-
|
56
|
-
- **Content-Type**: Not defined
|
57
|
-
- **Accept**: application/json
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
# **delete**
|
62
|
-
> delete
|
63
|
-
|
64
|
-
Terminates the validity of a session token. This is the equivalent of log out. A session identifier is expected as part of the request.
|
65
|
-
|
66
|
-
### Example
|
67
|
-
```ruby
|
68
|
-
# load the gem
|
69
|
-
require 'vsphere-automation-cis'
|
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::CIS::SessionApi.new
|
79
|
-
|
80
|
-
begin
|
81
|
-
#Terminates the validity of a session token. This is the equivalent of log out. A session identifier is expected as part of the request.
|
82
|
-
api_instance.delete
|
83
|
-
rescue VSphereAutomation::ApiError => e
|
84
|
-
puts "Exception when calling SessionApi->delete: #{e}"
|
85
|
-
end
|
86
|
-
```
|
87
|
-
|
88
|
-
### Parameters
|
89
|
-
This endpoint does not need any parameter.
|
90
|
-
|
91
|
-
### Return type
|
92
|
-
|
93
|
-
nil (empty response body)
|
94
|
-
|
95
|
-
### Authorization
|
96
|
-
|
97
|
-
[api_key](../README.md#api_key)
|
98
|
-
|
99
|
-
### HTTP request headers
|
100
|
-
|
101
|
-
- **Content-Type**: Not defined
|
102
|
-
- **Accept**: application/json
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
# **get**
|
107
|
-
> CisSessionResult get
|
108
|
-
|
109
|
-
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.
|
110
|
-
|
111
|
-
### Example
|
112
|
-
```ruby
|
113
|
-
# load the gem
|
114
|
-
require 'vsphere-automation-cis'
|
115
|
-
# setup authorization
|
116
|
-
VSphereAutomation::Configuration.new.tap do |config|
|
117
|
-
# Configure API key authorization: api_key
|
118
|
-
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
|
119
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
120
|
-
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
|
121
|
-
end
|
122
|
-
|
123
|
-
api_instance = VSphereAutomation::CIS::SessionApi.new
|
124
|
-
|
125
|
-
begin
|
126
|
-
#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.
|
127
|
-
result = api_instance.get
|
128
|
-
p result
|
129
|
-
rescue VSphereAutomation::ApiError => e
|
130
|
-
puts "Exception when calling SessionApi->get: #{e}"
|
131
|
-
end
|
132
|
-
```
|
133
|
-
|
134
|
-
### Parameters
|
135
|
-
This endpoint does not need any parameter.
|
136
|
-
|
137
|
-
### Return type
|
138
|
-
|
139
|
-
[**CisSessionResult**](CisSessionResult.md)
|
140
|
-
|
141
|
-
### Authorization
|
142
|
-
|
143
|
-
[api_key](../README.md#api_key)
|
144
|
-
|
145
|
-
### HTTP request headers
|
146
|
-
|
147
|
-
- **Content-Type**: Not defined
|
148
|
-
- **Accept**: application/json
|
149
|
-
|
150
|
-
|
151
|
-
|