pulp_ansible_client 0.16.3 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +88 -22
- data/docs/AnsibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/AnsibleAnsibleNamespaceMetadataResponse.md +35 -0
- data/docs/AnsibleAnsibleRepository.md +3 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +5 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +4 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionMark.md +19 -0
- data/docs/AnsibleCollectionVersionMarkResponse.md +23 -0
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +230 -6
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRepositoryMark.md +19 -0
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/CollectionNamespaceResponse.md +3 -1
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionSummaryResponse.md +35 -0
- data/docs/CollectionVersionCopyMove.md +21 -0
- data/docs/CollectionVersionListResponse.md +4 -2
- data/docs/CollectionVersionResponse.md +6 -4
- data/docs/CollectionVersionSearchList.md +27 -0
- data/docs/CollectionVersionSearchListResponse.md +29 -0
- data/docs/ContentCollectionDeprecationsApi.md +2 -6
- data/docs/ContentCollectionMarksApi.md +198 -0
- data/docs/ContentCollectionSignaturesApi.md +2 -6
- data/docs/ContentCollectionVersionsApi.md +6 -10
- data/docs/ContentNamespacesApi.md +220 -0
- data/docs/ContentRolesApi.md +2 -6
- data/docs/DistributionsAnsibleApi.md +230 -6
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NamespaceLink.md +19 -0
- data/docs/NamespaceLinkResponse.md +19 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PaginatedCollectionVersionSearchListResponseList.md +21 -0
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +23 -0
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +23 -0
- data/docs/PatchedansibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/PatchedansibleAnsibleRepository.md +3 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/ProgressReportResponse.md +27 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3NamespacesApi.md +158 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +363 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +168 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +154 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +353 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +164 -0
- data/docs/RemotesCollectionApi.md +238 -6
- data/docs/RemotesGitApi.md +230 -6
- data/docs/RemotesRoleApi.md +230 -6
- data/docs/RepositoriesAnsibleApi.md +450 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -4
- data/docs/Repository.md +25 -0
- data/docs/RepositoryResponse.md +33 -0
- data/docs/Task.md +19 -0
- data/docs/TaskResponse.md +45 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +6 -4
- data/docs/VersionsApi.md +10 -10
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +270 -8
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +247 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +8 -14
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +276 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +270 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +209 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +8 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +531 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb +229 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +197 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +501 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +217 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +283 -9
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +270 -8
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +270 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +542 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +359 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +402 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +14 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +23 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -5
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark.rb +258 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark_response.rb +268 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +243 -243
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -144
- data/lib/pulp_ansible_client/models/ansible_repository_mark.rb +260 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +13 -4
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +359 -0
- data/lib/pulp_ansible_client/models/collection_version_copy_move.rb +242 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +16 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +12 -5
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +279 -0
- data/lib/pulp_ansible_client/models/collection_version_search_list_response.rb +287 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_ansible_client/models/namespace_link.rb +282 -0
- data/lib/pulp_ansible_client/models/namespace_link_response.rb +264 -0
- data/lib/pulp_ansible_client/models/nested_role.rb +253 -0
- data/lib/pulp_ansible_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_ansible_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_ansible_client/models/paginated_collection_version_search_list_response_list.rb +226 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +350 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +14 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +234 -234
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
- data/lib/pulp_ansible_client/models/repository.rb +306 -0
- data/lib/pulp_ansible_client/models/repository_response.rb +309 -0
- data/lib/pulp_ansible_client/models/task.rb +266 -0
- data/lib/pulp_ansible_client/models/task_response.rb +366 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +12 -5
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +32 -0
- data/spec/api/ansible_collections_api_spec.rb +51 -3
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
- data/spec/api/content_collection_marks_api_spec.rb +83 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +3 -5
- data/spec/api/content_namespaces_api_spec.rb +93 -0
- data/spec/api/content_roles_api_spec.rb +1 -3
- data/spec/api/distributions_ansible_api_spec.rb +51 -3
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +77 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +131 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +83 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +75 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +126 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +81 -0
- data/spec/api/remotes_collection_api_spec.rb +55 -3
- data/spec/api/remotes_git_api_spec.rb +51 -3
- data/spec/api/remotes_role_api_spec.rb +51 -3
- data/spec/api/repositories_ansible_api_spec.rb +99 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_ansible_namespace_metadata_response_spec.rb +95 -0
- data/spec/models/ansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +12 -0
- data/spec/models/ansible_ansible_repository_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_mark_response_spec.rb +59 -0
- data/spec/models/ansible_collection_version_mark_spec.rb +47 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_repository_mark_spec.rb +47 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/collection_namespace_response_spec.rb +6 -0
- data/spec/models/collection_summary_response_spec.rb +95 -0
- data/spec/models/collection_version_copy_move_spec.rb +53 -0
- data/spec/models/collection_version_list_response_spec.rb +6 -0
- data/spec/models/collection_version_response_spec.rb +6 -0
- data/spec/models/collection_version_search_list_response_spec.rb +77 -0
- data/spec/models/collection_version_search_list_spec.rb +71 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/namespace_link_response_spec.rb +47 -0
- data/spec/models/namespace_link_spec.rb +47 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/paginated_collection_version_search_list_response_list_spec.rb +53 -0
- data/spec/models/paginatedansible_ansible_namespace_metadata_response_list_spec.rb +59 -0
- data/spec/models/paginatedansible_collection_version_mark_response_list_spec.rb +59 -0
- data/spec/models/patchedansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/progress_report_response_spec.rb +71 -0
- data/spec/models/repository_response_spec.rb +89 -0
- data/spec/models/repository_spec.rb +65 -0
- data/spec/models/task_response_spec.rb +125 -0
- data/spec/models/task_spec.rb +47 -0
- data/spec/models/unpaginated_collection_version_response_spec.rb +6 -0
- metadata +230 -102
@@ -4,19 +4,135 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](RepositoriesAnsibleApi.md#add_role) | **POST** {ansible_ansible_repository_href}add_role/ |
|
8
|
+
[**copy_collection_version**](RepositoriesAnsibleApi.md#copy_collection_version) | **POST** {ansible_ansible_repository_href}copy_collection_version/ |
|
7
9
|
[**create**](RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository
|
8
10
|
[**delete**](RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_ansible_repository_href} | Delete an ansible repository
|
9
11
|
[**list**](RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys
|
12
|
+
[**list_roles**](RepositoriesAnsibleApi.md#list_roles) | **GET** {ansible_ansible_repository_href}list_roles/ |
|
13
|
+
[**mark**](RepositoriesAnsibleApi.md#mark) | **POST** {ansible_ansible_repository_href}mark/ |
|
10
14
|
[**modify**](RepositoriesAnsibleApi.md#modify) | **POST** {ansible_ansible_repository_href}modify/ | Modify Repository Content
|
15
|
+
[**move_collection_version**](RepositoriesAnsibleApi.md#move_collection_version) | **POST** {ansible_ansible_repository_href}move_collection_version/ |
|
16
|
+
[**my_permissions**](RepositoriesAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_repository_href}my_permissions/ |
|
11
17
|
[**partial_update**](RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_repository_href} | Update an ansible repository
|
12
18
|
[**read**](RepositoriesAnsibleApi.md#read) | **GET** {ansible_ansible_repository_href} | Inspect an ansible repository
|
13
19
|
[**rebuild_metadata**](RepositoriesAnsibleApi.md#rebuild_metadata) | **POST** {ansible_ansible_repository_href}rebuild_metadata/ |
|
20
|
+
[**remove_role**](RepositoriesAnsibleApi.md#remove_role) | **POST** {ansible_ansible_repository_href}remove_role/ |
|
14
21
|
[**sign**](RepositoriesAnsibleApi.md#sign) | **POST** {ansible_ansible_repository_href}sign/ |
|
15
22
|
[**sync**](RepositoriesAnsibleApi.md#sync) | **POST** {ansible_ansible_repository_href}sync/ |
|
23
|
+
[**unmark**](RepositoriesAnsibleApi.md#unmark) | **POST** {ansible_ansible_repository_href}unmark/ |
|
16
24
|
[**update**](RepositoriesAnsibleApi.md#update) | **PUT** {ansible_ansible_repository_href} | Update an ansible repository
|
17
25
|
|
18
26
|
|
19
27
|
|
28
|
+
## add_role
|
29
|
+
|
30
|
+
> NestedRoleResponse add_role(ansible_ansible_repository_href, nested_role)
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
Add a role for this object to users/groups.
|
35
|
+
|
36
|
+
### Example
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
# load the gem
|
40
|
+
require 'pulp_ansible_client'
|
41
|
+
# setup authorization
|
42
|
+
PulpAnsibleClient.configure do |config|
|
43
|
+
# Configure HTTP basic authorization: basicAuth
|
44
|
+
config.username = 'YOUR USERNAME'
|
45
|
+
config.password = 'YOUR PASSWORD'
|
46
|
+
end
|
47
|
+
|
48
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
49
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
50
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
51
|
+
|
52
|
+
begin
|
53
|
+
result = api_instance.add_role(ansible_ansible_repository_href, nested_role)
|
54
|
+
p result
|
55
|
+
rescue PulpAnsibleClient::ApiError => e
|
56
|
+
puts "Exception when calling RepositoriesAnsibleApi->add_role: #{e}"
|
57
|
+
end
|
58
|
+
```
|
59
|
+
|
60
|
+
### Parameters
|
61
|
+
|
62
|
+
|
63
|
+
Name | Type | Description | Notes
|
64
|
+
------------- | ------------- | ------------- | -------------
|
65
|
+
**ansible_ansible_repository_href** | **String**| |
|
66
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
67
|
+
|
68
|
+
### Return type
|
69
|
+
|
70
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
71
|
+
|
72
|
+
### Authorization
|
73
|
+
|
74
|
+
[basicAuth](../README.md#basicAuth)
|
75
|
+
|
76
|
+
### HTTP request headers
|
77
|
+
|
78
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
79
|
+
- **Accept**: application/json
|
80
|
+
|
81
|
+
|
82
|
+
## copy_collection_version
|
83
|
+
|
84
|
+
> AsyncOperationResponse copy_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
Trigger an asynchronous task to copy collection versions.
|
89
|
+
|
90
|
+
### Example
|
91
|
+
|
92
|
+
```ruby
|
93
|
+
# load the gem
|
94
|
+
require 'pulp_ansible_client'
|
95
|
+
# setup authorization
|
96
|
+
PulpAnsibleClient.configure do |config|
|
97
|
+
# Configure HTTP basic authorization: basicAuth
|
98
|
+
config.username = 'YOUR USERNAME'
|
99
|
+
config.password = 'YOUR PASSWORD'
|
100
|
+
end
|
101
|
+
|
102
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
103
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
104
|
+
collection_version_copy_move = PulpAnsibleClient::CollectionVersionCopyMove.new # CollectionVersionCopyMove |
|
105
|
+
|
106
|
+
begin
|
107
|
+
result = api_instance.copy_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
108
|
+
p result
|
109
|
+
rescue PulpAnsibleClient::ApiError => e
|
110
|
+
puts "Exception when calling RepositoriesAnsibleApi->copy_collection_version: #{e}"
|
111
|
+
end
|
112
|
+
```
|
113
|
+
|
114
|
+
### Parameters
|
115
|
+
|
116
|
+
|
117
|
+
Name | Type | Description | Notes
|
118
|
+
------------- | ------------- | ------------- | -------------
|
119
|
+
**ansible_ansible_repository_href** | **String**| |
|
120
|
+
**collection_version_copy_move** | [**CollectionVersionCopyMove**](CollectionVersionCopyMove.md)| |
|
121
|
+
|
122
|
+
### Return type
|
123
|
+
|
124
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
125
|
+
|
126
|
+
### Authorization
|
127
|
+
|
128
|
+
[basicAuth](../README.md#basicAuth)
|
129
|
+
|
130
|
+
### HTTP request headers
|
131
|
+
|
132
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
133
|
+
- **Accept**: application/json
|
134
|
+
|
135
|
+
|
20
136
|
## create
|
21
137
|
|
22
138
|
> AnsibleAnsibleRepositoryResponse create(ansible_ansible_repository)
|
@@ -152,9 +268,7 @@ opts = {
|
|
152
268
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
269
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
270
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
271
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
158
272
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
159
273
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
160
274
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
@@ -190,9 +304,7 @@ Name | Type | Description | Notes
|
|
190
304
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
191
305
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
192
306
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
193
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
194
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
195
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
307
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
196
308
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
197
309
|
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
198
310
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
@@ -220,6 +332,118 @@ Name | Type | Description | Notes
|
|
220
332
|
- **Accept**: application/json
|
221
333
|
|
222
334
|
|
335
|
+
## list_roles
|
336
|
+
|
337
|
+
> ObjectRolesResponse list_roles(ansible_ansible_repository_href, opts)
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
List roles assigned to this object.
|
342
|
+
|
343
|
+
### Example
|
344
|
+
|
345
|
+
```ruby
|
346
|
+
# load the gem
|
347
|
+
require 'pulp_ansible_client'
|
348
|
+
# setup authorization
|
349
|
+
PulpAnsibleClient.configure do |config|
|
350
|
+
# Configure HTTP basic authorization: basicAuth
|
351
|
+
config.username = 'YOUR USERNAME'
|
352
|
+
config.password = 'YOUR PASSWORD'
|
353
|
+
end
|
354
|
+
|
355
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
356
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
357
|
+
opts = {
|
358
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
359
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
360
|
+
}
|
361
|
+
|
362
|
+
begin
|
363
|
+
result = api_instance.list_roles(ansible_ansible_repository_href, opts)
|
364
|
+
p result
|
365
|
+
rescue PulpAnsibleClient::ApiError => e
|
366
|
+
puts "Exception when calling RepositoriesAnsibleApi->list_roles: #{e}"
|
367
|
+
end
|
368
|
+
```
|
369
|
+
|
370
|
+
### Parameters
|
371
|
+
|
372
|
+
|
373
|
+
Name | Type | Description | Notes
|
374
|
+
------------- | ------------- | ------------- | -------------
|
375
|
+
**ansible_ansible_repository_href** | **String**| |
|
376
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
377
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
378
|
+
|
379
|
+
### Return type
|
380
|
+
|
381
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
382
|
+
|
383
|
+
### Authorization
|
384
|
+
|
385
|
+
[basicAuth](../README.md#basicAuth)
|
386
|
+
|
387
|
+
### HTTP request headers
|
388
|
+
|
389
|
+
- **Content-Type**: Not defined
|
390
|
+
- **Accept**: application/json
|
391
|
+
|
392
|
+
|
393
|
+
## mark
|
394
|
+
|
395
|
+
> AsyncOperationResponse mark(ansible_ansible_repository_href, ansible_repository_mark)
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
Trigger an asynchronous task to mark Ansible content.
|
400
|
+
|
401
|
+
### Example
|
402
|
+
|
403
|
+
```ruby
|
404
|
+
# load the gem
|
405
|
+
require 'pulp_ansible_client'
|
406
|
+
# setup authorization
|
407
|
+
PulpAnsibleClient.configure do |config|
|
408
|
+
# Configure HTTP basic authorization: basicAuth
|
409
|
+
config.username = 'YOUR USERNAME'
|
410
|
+
config.password = 'YOUR PASSWORD'
|
411
|
+
end
|
412
|
+
|
413
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
414
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
415
|
+
ansible_repository_mark = PulpAnsibleClient::AnsibleRepositoryMark.new # AnsibleRepositoryMark |
|
416
|
+
|
417
|
+
begin
|
418
|
+
result = api_instance.mark(ansible_ansible_repository_href, ansible_repository_mark)
|
419
|
+
p result
|
420
|
+
rescue PulpAnsibleClient::ApiError => e
|
421
|
+
puts "Exception when calling RepositoriesAnsibleApi->mark: #{e}"
|
422
|
+
end
|
423
|
+
```
|
424
|
+
|
425
|
+
### Parameters
|
426
|
+
|
427
|
+
|
428
|
+
Name | Type | Description | Notes
|
429
|
+
------------- | ------------- | ------------- | -------------
|
430
|
+
**ansible_ansible_repository_href** | **String**| |
|
431
|
+
**ansible_repository_mark** | [**AnsibleRepositoryMark**](AnsibleRepositoryMark.md)| |
|
432
|
+
|
433
|
+
### Return type
|
434
|
+
|
435
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
436
|
+
|
437
|
+
### Authorization
|
438
|
+
|
439
|
+
[basicAuth](../README.md#basicAuth)
|
440
|
+
|
441
|
+
### HTTP request headers
|
442
|
+
|
443
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
444
|
+
- **Accept**: application/json
|
445
|
+
|
446
|
+
|
223
447
|
## modify
|
224
448
|
|
225
449
|
> AsyncOperationResponse modify(ansible_ansible_repository_href, repository_add_remove_content)
|
@@ -275,6 +499,118 @@ Name | Type | Description | Notes
|
|
275
499
|
- **Accept**: application/json
|
276
500
|
|
277
501
|
|
502
|
+
## move_collection_version
|
503
|
+
|
504
|
+
> AsyncOperationResponse move_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
Trigger an asynchronous task to move collection versions.
|
509
|
+
|
510
|
+
### Example
|
511
|
+
|
512
|
+
```ruby
|
513
|
+
# load the gem
|
514
|
+
require 'pulp_ansible_client'
|
515
|
+
# setup authorization
|
516
|
+
PulpAnsibleClient.configure do |config|
|
517
|
+
# Configure HTTP basic authorization: basicAuth
|
518
|
+
config.username = 'YOUR USERNAME'
|
519
|
+
config.password = 'YOUR PASSWORD'
|
520
|
+
end
|
521
|
+
|
522
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
523
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
524
|
+
collection_version_copy_move = PulpAnsibleClient::CollectionVersionCopyMove.new # CollectionVersionCopyMove |
|
525
|
+
|
526
|
+
begin
|
527
|
+
result = api_instance.move_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
528
|
+
p result
|
529
|
+
rescue PulpAnsibleClient::ApiError => e
|
530
|
+
puts "Exception when calling RepositoriesAnsibleApi->move_collection_version: #{e}"
|
531
|
+
end
|
532
|
+
```
|
533
|
+
|
534
|
+
### Parameters
|
535
|
+
|
536
|
+
|
537
|
+
Name | Type | Description | Notes
|
538
|
+
------------- | ------------- | ------------- | -------------
|
539
|
+
**ansible_ansible_repository_href** | **String**| |
|
540
|
+
**collection_version_copy_move** | [**CollectionVersionCopyMove**](CollectionVersionCopyMove.md)| |
|
541
|
+
|
542
|
+
### Return type
|
543
|
+
|
544
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
545
|
+
|
546
|
+
### Authorization
|
547
|
+
|
548
|
+
[basicAuth](../README.md#basicAuth)
|
549
|
+
|
550
|
+
### HTTP request headers
|
551
|
+
|
552
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
553
|
+
- **Accept**: application/json
|
554
|
+
|
555
|
+
|
556
|
+
## my_permissions
|
557
|
+
|
558
|
+
> MyPermissionsResponse my_permissions(ansible_ansible_repository_href, opts)
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
List permissions available to the current user on this object.
|
563
|
+
|
564
|
+
### Example
|
565
|
+
|
566
|
+
```ruby
|
567
|
+
# load the gem
|
568
|
+
require 'pulp_ansible_client'
|
569
|
+
# setup authorization
|
570
|
+
PulpAnsibleClient.configure do |config|
|
571
|
+
# Configure HTTP basic authorization: basicAuth
|
572
|
+
config.username = 'YOUR USERNAME'
|
573
|
+
config.password = 'YOUR PASSWORD'
|
574
|
+
end
|
575
|
+
|
576
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
577
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
578
|
+
opts = {
|
579
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
580
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
581
|
+
}
|
582
|
+
|
583
|
+
begin
|
584
|
+
result = api_instance.my_permissions(ansible_ansible_repository_href, opts)
|
585
|
+
p result
|
586
|
+
rescue PulpAnsibleClient::ApiError => e
|
587
|
+
puts "Exception when calling RepositoriesAnsibleApi->my_permissions: #{e}"
|
588
|
+
end
|
589
|
+
```
|
590
|
+
|
591
|
+
### Parameters
|
592
|
+
|
593
|
+
|
594
|
+
Name | Type | Description | Notes
|
595
|
+
------------- | ------------- | ------------- | -------------
|
596
|
+
**ansible_ansible_repository_href** | **String**| |
|
597
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
598
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
599
|
+
|
600
|
+
### Return type
|
601
|
+
|
602
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
603
|
+
|
604
|
+
### Authorization
|
605
|
+
|
606
|
+
[basicAuth](../README.md#basicAuth)
|
607
|
+
|
608
|
+
### HTTP request headers
|
609
|
+
|
610
|
+
- **Content-Type**: Not defined
|
611
|
+
- **Accept**: application/json
|
612
|
+
|
613
|
+
|
278
614
|
## partial_update
|
279
615
|
|
280
616
|
> AsyncOperationResponse partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository)
|
@@ -443,6 +779,60 @@ Name | Type | Description | Notes
|
|
443
779
|
- **Accept**: application/json
|
444
780
|
|
445
781
|
|
782
|
+
## remove_role
|
783
|
+
|
784
|
+
> NestedRoleResponse remove_role(ansible_ansible_repository_href, nested_role)
|
785
|
+
|
786
|
+
|
787
|
+
|
788
|
+
Remove a role for this object from users/groups.
|
789
|
+
|
790
|
+
### Example
|
791
|
+
|
792
|
+
```ruby
|
793
|
+
# load the gem
|
794
|
+
require 'pulp_ansible_client'
|
795
|
+
# setup authorization
|
796
|
+
PulpAnsibleClient.configure do |config|
|
797
|
+
# Configure HTTP basic authorization: basicAuth
|
798
|
+
config.username = 'YOUR USERNAME'
|
799
|
+
config.password = 'YOUR PASSWORD'
|
800
|
+
end
|
801
|
+
|
802
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
803
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
804
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
805
|
+
|
806
|
+
begin
|
807
|
+
result = api_instance.remove_role(ansible_ansible_repository_href, nested_role)
|
808
|
+
p result
|
809
|
+
rescue PulpAnsibleClient::ApiError => e
|
810
|
+
puts "Exception when calling RepositoriesAnsibleApi->remove_role: #{e}"
|
811
|
+
end
|
812
|
+
```
|
813
|
+
|
814
|
+
### Parameters
|
815
|
+
|
816
|
+
|
817
|
+
Name | Type | Description | Notes
|
818
|
+
------------- | ------------- | ------------- | -------------
|
819
|
+
**ansible_ansible_repository_href** | **String**| |
|
820
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
821
|
+
|
822
|
+
### Return type
|
823
|
+
|
824
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
825
|
+
|
826
|
+
### Authorization
|
827
|
+
|
828
|
+
[basicAuth](../README.md#basicAuth)
|
829
|
+
|
830
|
+
### HTTP request headers
|
831
|
+
|
832
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
833
|
+
- **Accept**: application/json
|
834
|
+
|
835
|
+
|
446
836
|
## sign
|
447
837
|
|
448
838
|
> AsyncOperationResponse sign(ansible_ansible_repository_href, ansible_repository_signature)
|
@@ -551,6 +941,60 @@ Name | Type | Description | Notes
|
|
551
941
|
- **Accept**: application/json
|
552
942
|
|
553
943
|
|
944
|
+
## unmark
|
945
|
+
|
946
|
+
> AsyncOperationResponse unmark(ansible_ansible_repository_href, ansible_repository_mark)
|
947
|
+
|
948
|
+
|
949
|
+
|
950
|
+
Trigger an asynchronous task to unmark Ansible content.
|
951
|
+
|
952
|
+
### Example
|
953
|
+
|
954
|
+
```ruby
|
955
|
+
# load the gem
|
956
|
+
require 'pulp_ansible_client'
|
957
|
+
# setup authorization
|
958
|
+
PulpAnsibleClient.configure do |config|
|
959
|
+
# Configure HTTP basic authorization: basicAuth
|
960
|
+
config.username = 'YOUR USERNAME'
|
961
|
+
config.password = 'YOUR PASSWORD'
|
962
|
+
end
|
963
|
+
|
964
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
965
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
966
|
+
ansible_repository_mark = PulpAnsibleClient::AnsibleRepositoryMark.new # AnsibleRepositoryMark |
|
967
|
+
|
968
|
+
begin
|
969
|
+
result = api_instance.unmark(ansible_ansible_repository_href, ansible_repository_mark)
|
970
|
+
p result
|
971
|
+
rescue PulpAnsibleClient::ApiError => e
|
972
|
+
puts "Exception when calling RepositoriesAnsibleApi->unmark: #{e}"
|
973
|
+
end
|
974
|
+
```
|
975
|
+
|
976
|
+
### Parameters
|
977
|
+
|
978
|
+
|
979
|
+
Name | Type | Description | Notes
|
980
|
+
------------- | ------------- | ------------- | -------------
|
981
|
+
**ansible_ansible_repository_href** | **String**| |
|
982
|
+
**ansible_repository_mark** | [**AnsibleRepositoryMark**](AnsibleRepositoryMark.md)| |
|
983
|
+
|
984
|
+
### Return type
|
985
|
+
|
986
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
987
|
+
|
988
|
+
### Authorization
|
989
|
+
|
990
|
+
[basicAuth](../README.md#basicAuth)
|
991
|
+
|
992
|
+
### HTTP request headers
|
993
|
+
|
994
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
995
|
+
- **Accept**: application/json
|
996
|
+
|
997
|
+
|
554
998
|
## update
|
555
999
|
|
556
1000
|
> AsyncOperationResponse update(ansible_ansible_repository_href, ansible_ansible_repository)
|
@@ -98,14 +98,13 @@ opts = {
|
|
98
98
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
99
99
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
100
100
|
offset: 56, # Integer | The initial index from which to return the results.
|
101
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
102
102
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
103
103
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
104
104
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
105
105
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
106
106
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
107
107
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
108
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
109
108
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
110
109
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
111
110
|
}
|
@@ -135,14 +134,13 @@ Name | Type | Description | Notes
|
|
135
134
|
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
136
135
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
137
136
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
138
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
137
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
139
138
|
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
140
139
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
141
140
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
142
141
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
143
142
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
144
143
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
145
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
146
144
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
147
145
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
148
146
|
|
data/docs/Repository.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpAnsibleClient::Repository
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
+
**name** | **String** | A unique name for this repository. |
|
9
|
+
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpAnsibleClient'
|
17
|
+
|
18
|
+
instance = PulpAnsibleClient::Repository.new(pulp_labels: null,
|
19
|
+
name: null,
|
20
|
+
description: null,
|
21
|
+
retain_repo_versions: null,
|
22
|
+
remote: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# PulpAnsibleClient::RepositoryResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
12
|
+
**name** | **String** | A unique name for this repository. |
|
13
|
+
**description** | **String** | An optional description. | [optional]
|
14
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
15
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'PulpAnsibleClient'
|
21
|
+
|
22
|
+
instance = PulpAnsibleClient::RepositoryResponse.new(pulp_href: null,
|
23
|
+
pulp_created: null,
|
24
|
+
versions_href: null,
|
25
|
+
pulp_labels: null,
|
26
|
+
latest_version_href: null,
|
27
|
+
name: null,
|
28
|
+
description: null,
|
29
|
+
retain_repo_versions: null,
|
30
|
+
remote: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
data/docs/Task.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpAnsibleClient::Task
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | The name of task. |
|
8
|
+
**logging_cid** | **String** | The logging correlation id associated with this task |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpAnsibleClient'
|
14
|
+
|
15
|
+
instance = PulpAnsibleClient::Task.new(name: null,
|
16
|
+
logging_cid: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# PulpAnsibleClient::TaskResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**state** | **String** | The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed', 'canceled' and 'canceling'. | [optional] [readonly]
|
10
|
+
**name** | **String** | The name of task. |
|
11
|
+
**logging_cid** | **String** | The logging correlation id associated with this task |
|
12
|
+
**started_at** | **DateTime** | Timestamp of the when this task started execution. | [optional] [readonly]
|
13
|
+
**finished_at** | **DateTime** | Timestamp of the when this task stopped execution. | [optional] [readonly]
|
14
|
+
**error** | **Hash<String, Object>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
|
15
|
+
**worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional] [readonly]
|
16
|
+
**parent_task** | **String** | The parent task that spawned this task. | [optional] [readonly]
|
17
|
+
**child_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional] [readonly]
|
18
|
+
**task_group** | **String** | The task group that this task is a member of. | [optional] [readonly]
|
19
|
+
**progress_reports** | [**Array<ProgressReportResponse>**](ProgressReportResponse.md) | | [optional] [readonly]
|
20
|
+
**created_resources** | **Array<String>** | Resources created by this task. | [optional] [readonly]
|
21
|
+
**reserved_resources_record** | **Array<String>** | A list of resources required by that task. | [optional] [readonly]
|
22
|
+
|
23
|
+
## Code Sample
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'PulpAnsibleClient'
|
27
|
+
|
28
|
+
instance = PulpAnsibleClient::TaskResponse.new(pulp_href: null,
|
29
|
+
pulp_created: null,
|
30
|
+
state: null,
|
31
|
+
name: null,
|
32
|
+
logging_cid: null,
|
33
|
+
started_at: null,
|
34
|
+
finished_at: null,
|
35
|
+
error: null,
|
36
|
+
worker: null,
|
37
|
+
parent_task: null,
|
38
|
+
child_tasks: null,
|
39
|
+
task_group: null,
|
40
|
+
progress_reports: null,
|
41
|
+
created_resources: null,
|
42
|
+
reserved_resources_record: null)
|
43
|
+
```
|
44
|
+
|
45
|
+
|