pulp_ansible_client 0.16.2 → 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 +5 -5
- data/docs/AnsibleCollectionVersionMark.md +19 -0
- data/docs/AnsibleCollectionVersionMarkResponse.md +23 -0
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +230 -6
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- 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 +26 -26
- 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 +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -249
- 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 +11 -11
- 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 +244 -244
- 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 +18 -18
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- 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 +20 -20
- 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 +231 -103
@@ -4,11 +4,69 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](AnsibleCollectionsApi.md#add_role) | **POST** {ansible_collection_href}add_role/ |
|
7
8
|
[**list**](AnsibleCollectionsApi.md#list) | **GET** /pulp/api/v3/ansible/collections/ | List collections
|
9
|
+
[**list_roles**](AnsibleCollectionsApi.md#list_roles) | **GET** {ansible_collection_href}list_roles/ |
|
10
|
+
[**my_permissions**](AnsibleCollectionsApi.md#my_permissions) | **GET** {ansible_collection_href}my_permissions/ |
|
11
|
+
[**remove_role**](AnsibleCollectionsApi.md#remove_role) | **POST** {ansible_collection_href}remove_role/ |
|
8
12
|
[**upload_collection**](AnsibleCollectionsApi.md#upload_collection) | **POST** /ansible/collections/ | Upload a collection
|
9
13
|
|
10
14
|
|
11
15
|
|
16
|
+
## add_role
|
17
|
+
|
18
|
+
> NestedRoleResponse add_role(ansible_collection_href, nested_role)
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
Add a role for this object to users/groups.
|
23
|
+
|
24
|
+
### Example
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
# load the gem
|
28
|
+
require 'pulp_ansible_client'
|
29
|
+
# setup authorization
|
30
|
+
PulpAnsibleClient.configure do |config|
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
32
|
+
config.username = 'YOUR USERNAME'
|
33
|
+
config.password = 'YOUR PASSWORD'
|
34
|
+
end
|
35
|
+
|
36
|
+
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
37
|
+
ansible_collection_href = 'ansible_collection_href_example' # String |
|
38
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
39
|
+
|
40
|
+
begin
|
41
|
+
result = api_instance.add_role(ansible_collection_href, nested_role)
|
42
|
+
p result
|
43
|
+
rescue PulpAnsibleClient::ApiError => e
|
44
|
+
puts "Exception when calling AnsibleCollectionsApi->add_role: #{e}"
|
45
|
+
end
|
46
|
+
```
|
47
|
+
|
48
|
+
### Parameters
|
49
|
+
|
50
|
+
|
51
|
+
Name | Type | Description | Notes
|
52
|
+
------------- | ------------- | ------------- | -------------
|
53
|
+
**ansible_collection_href** | **String**| |
|
54
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
55
|
+
|
56
|
+
### Return type
|
57
|
+
|
58
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
59
|
+
|
60
|
+
### Authorization
|
61
|
+
|
62
|
+
[basicAuth](../README.md#basicAuth)
|
63
|
+
|
64
|
+
### HTTP request headers
|
65
|
+
|
66
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
67
|
+
- **Accept**: application/json
|
68
|
+
|
69
|
+
|
12
70
|
## list
|
13
71
|
|
14
72
|
> PaginatedansibleCollectionResponseList list(opts)
|
@@ -35,9 +93,7 @@ opts = {
|
|
35
93
|
name: 'name_example', # String |
|
36
94
|
namespace: 'namespace_example', # String |
|
37
95
|
offset: 56, # Integer | The initial index from which to return the results.
|
38
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
39
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
40
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
96
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
41
97
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
42
98
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
43
99
|
}
|
@@ -60,9 +116,7 @@ Name | Type | Description | Notes
|
|
60
116
|
**name** | **String**| | [optional]
|
61
117
|
**namespace** | **String**| | [optional]
|
62
118
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
63
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
64
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
65
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
119
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
66
120
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
67
121
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
68
122
|
|
@@ -80,6 +134,176 @@ Name | Type | Description | Notes
|
|
80
134
|
- **Accept**: application/json
|
81
135
|
|
82
136
|
|
137
|
+
## list_roles
|
138
|
+
|
139
|
+
> ObjectRolesResponse list_roles(ansible_collection_href, opts)
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
List roles assigned to this object.
|
144
|
+
|
145
|
+
### Example
|
146
|
+
|
147
|
+
```ruby
|
148
|
+
# load the gem
|
149
|
+
require 'pulp_ansible_client'
|
150
|
+
# setup authorization
|
151
|
+
PulpAnsibleClient.configure do |config|
|
152
|
+
# Configure HTTP basic authorization: basicAuth
|
153
|
+
config.username = 'YOUR USERNAME'
|
154
|
+
config.password = 'YOUR PASSWORD'
|
155
|
+
end
|
156
|
+
|
157
|
+
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
158
|
+
ansible_collection_href = 'ansible_collection_href_example' # String |
|
159
|
+
opts = {
|
160
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
161
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
162
|
+
}
|
163
|
+
|
164
|
+
begin
|
165
|
+
result = api_instance.list_roles(ansible_collection_href, opts)
|
166
|
+
p result
|
167
|
+
rescue PulpAnsibleClient::ApiError => e
|
168
|
+
puts "Exception when calling AnsibleCollectionsApi->list_roles: #{e}"
|
169
|
+
end
|
170
|
+
```
|
171
|
+
|
172
|
+
### Parameters
|
173
|
+
|
174
|
+
|
175
|
+
Name | Type | Description | Notes
|
176
|
+
------------- | ------------- | ------------- | -------------
|
177
|
+
**ansible_collection_href** | **String**| |
|
178
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
179
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
180
|
+
|
181
|
+
### Return type
|
182
|
+
|
183
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
184
|
+
|
185
|
+
### Authorization
|
186
|
+
|
187
|
+
[basicAuth](../README.md#basicAuth)
|
188
|
+
|
189
|
+
### HTTP request headers
|
190
|
+
|
191
|
+
- **Content-Type**: Not defined
|
192
|
+
- **Accept**: application/json
|
193
|
+
|
194
|
+
|
195
|
+
## my_permissions
|
196
|
+
|
197
|
+
> MyPermissionsResponse my_permissions(ansible_collection_href, opts)
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
List permissions available to the current user on this object.
|
202
|
+
|
203
|
+
### Example
|
204
|
+
|
205
|
+
```ruby
|
206
|
+
# load the gem
|
207
|
+
require 'pulp_ansible_client'
|
208
|
+
# setup authorization
|
209
|
+
PulpAnsibleClient.configure do |config|
|
210
|
+
# Configure HTTP basic authorization: basicAuth
|
211
|
+
config.username = 'YOUR USERNAME'
|
212
|
+
config.password = 'YOUR PASSWORD'
|
213
|
+
end
|
214
|
+
|
215
|
+
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
216
|
+
ansible_collection_href = 'ansible_collection_href_example' # String |
|
217
|
+
opts = {
|
218
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
219
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
220
|
+
}
|
221
|
+
|
222
|
+
begin
|
223
|
+
result = api_instance.my_permissions(ansible_collection_href, opts)
|
224
|
+
p result
|
225
|
+
rescue PulpAnsibleClient::ApiError => e
|
226
|
+
puts "Exception when calling AnsibleCollectionsApi->my_permissions: #{e}"
|
227
|
+
end
|
228
|
+
```
|
229
|
+
|
230
|
+
### Parameters
|
231
|
+
|
232
|
+
|
233
|
+
Name | Type | Description | Notes
|
234
|
+
------------- | ------------- | ------------- | -------------
|
235
|
+
**ansible_collection_href** | **String**| |
|
236
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
237
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
238
|
+
|
239
|
+
### Return type
|
240
|
+
|
241
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
242
|
+
|
243
|
+
### Authorization
|
244
|
+
|
245
|
+
[basicAuth](../README.md#basicAuth)
|
246
|
+
|
247
|
+
### HTTP request headers
|
248
|
+
|
249
|
+
- **Content-Type**: Not defined
|
250
|
+
- **Accept**: application/json
|
251
|
+
|
252
|
+
|
253
|
+
## remove_role
|
254
|
+
|
255
|
+
> NestedRoleResponse remove_role(ansible_collection_href, nested_role)
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
Remove a role for this object from users/groups.
|
260
|
+
|
261
|
+
### Example
|
262
|
+
|
263
|
+
```ruby
|
264
|
+
# load the gem
|
265
|
+
require 'pulp_ansible_client'
|
266
|
+
# setup authorization
|
267
|
+
PulpAnsibleClient.configure do |config|
|
268
|
+
# Configure HTTP basic authorization: basicAuth
|
269
|
+
config.username = 'YOUR USERNAME'
|
270
|
+
config.password = 'YOUR PASSWORD'
|
271
|
+
end
|
272
|
+
|
273
|
+
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
274
|
+
ansible_collection_href = 'ansible_collection_href_example' # String |
|
275
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
276
|
+
|
277
|
+
begin
|
278
|
+
result = api_instance.remove_role(ansible_collection_href, nested_role)
|
279
|
+
p result
|
280
|
+
rescue PulpAnsibleClient::ApiError => e
|
281
|
+
puts "Exception when calling AnsibleCollectionsApi->remove_role: #{e}"
|
282
|
+
end
|
283
|
+
```
|
284
|
+
|
285
|
+
### Parameters
|
286
|
+
|
287
|
+
|
288
|
+
Name | Type | Description | Notes
|
289
|
+
------------- | ------------- | ------------- | -------------
|
290
|
+
**ansible_collection_href** | **String**| |
|
291
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
292
|
+
|
293
|
+
### Return type
|
294
|
+
|
295
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
296
|
+
|
297
|
+
### Authorization
|
298
|
+
|
299
|
+
[basicAuth](../README.md#basicAuth)
|
300
|
+
|
301
|
+
### HTTP request headers
|
302
|
+
|
303
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
304
|
+
- **Accept**: application/json
|
305
|
+
|
306
|
+
|
83
307
|
## upload_collection
|
84
308
|
|
85
309
|
> AsyncOperationResponse upload_collection(file, opts)
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
8
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
9
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
10
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
8
11
|
**name** | **String** | A unique name for this remote. |
|
12
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
13
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
+
**url** | **String** | The URL of an external content source. |
|
16
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
17
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
18
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
9
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
10
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
11
20
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
12
|
-
**
|
13
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
21
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
14
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
15
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
16
23
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
17
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
18
24
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
19
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
|
-
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
21
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
22
|
-
**url** | **String** | The URL of an external content source. |
|
23
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
24
25
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
25
|
-
**
|
26
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
26
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
29
29
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(proxy_username: null,
|
36
|
+
sock_read_timeout: null,
|
37
|
+
username: null,
|
38
|
+
tls_validation: null,
|
36
39
|
name: null,
|
40
|
+
client_key: null,
|
41
|
+
client_cert: null,
|
42
|
+
proxy_url: null,
|
43
|
+
url: null,
|
44
|
+
max_retries: null,
|
45
|
+
pulp_labels: null,
|
46
|
+
proxy_password: null,
|
37
47
|
total_timeout: null,
|
38
|
-
ca_cert: null,
|
39
48
|
headers: null,
|
40
|
-
|
41
|
-
client_key: null,
|
49
|
+
sock_connect_timeout: null,
|
42
50
|
connect_timeout: null,
|
43
|
-
sock_read_timeout: null,
|
44
51
|
download_concurrency: null,
|
45
|
-
username: null,
|
46
52
|
password: null,
|
47
|
-
max_retries: null,
|
48
|
-
proxy_password: null,
|
49
|
-
tls_validation: null,
|
50
|
-
url: null,
|
51
|
-
client_cert: null,
|
52
53
|
rate_limit: null,
|
53
|
-
|
54
|
-
proxy_username: null,
|
54
|
+
ca_cert: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -4,25 +4,25 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
9
|
+
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
10
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
11
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
12
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
8
13
|
**name** | **String** | A unique name for this remote. |
|
14
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
15
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
16
|
+
**url** | **String** | The URL of an external content source. |
|
17
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
18
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
10
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
11
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
12
20
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
13
|
-
**
|
14
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
21
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
15
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
16
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
17
23
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
19
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
|
-
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
21
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
22
|
-
**url** | **String** | The URL of an external content source. |
|
23
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
24
24
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
25
|
-
**
|
25
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
26
26
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
27
27
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
28
28
|
|
@@ -31,25 +31,25 @@ Name | Type | Description | Notes
|
|
31
31
|
```ruby
|
32
32
|
require 'PulpAnsibleClient'
|
33
33
|
|
34
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
34
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_href: null,
|
35
|
+
sock_read_timeout: null,
|
36
|
+
hidden_fields: null,
|
37
|
+
pulp_created: null,
|
38
|
+
tls_validation: null,
|
39
|
+
pulp_last_updated: null,
|
35
40
|
name: null,
|
41
|
+
client_cert: null,
|
42
|
+
proxy_url: null,
|
43
|
+
url: null,
|
44
|
+
max_retries: null,
|
45
|
+
pulp_labels: null,
|
36
46
|
total_timeout: null,
|
37
|
-
ca_cert: null,
|
38
|
-
pulp_last_updated: null,
|
39
47
|
headers: null,
|
40
|
-
|
41
|
-
proxy_url: null,
|
48
|
+
sock_connect_timeout: null,
|
42
49
|
connect_timeout: null,
|
43
|
-
sock_read_timeout: null,
|
44
50
|
download_concurrency: null,
|
45
|
-
pulp_href: null,
|
46
|
-
max_retries: null,
|
47
|
-
hidden_fields: null,
|
48
|
-
tls_validation: null,
|
49
|
-
url: null,
|
50
|
-
client_cert: null,
|
51
51
|
rate_limit: null,
|
52
|
-
|
52
|
+
ca_cert: null,
|
53
53
|
metadata_only: null,
|
54
54
|
git_ref: null)
|
55
55
|
```
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpAnsibleClient::AnsibleRepositoryMark
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_units** | [**Array<AnyType>**](AnyType.md) | List of collection version hrefs to mark, use * to mark all content in repository |
|
8
|
+
**value** | **String** | The string value of this mark. |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpAnsibleClient'
|
14
|
+
|
15
|
+
instance = PulpAnsibleClient::AnsibleRepositoryMark.new(content_units: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/AnsibleRoleRemote.md
CHANGED
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content.
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
19
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content.
|
19
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
20
20
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
21
21
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
22
22
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
8
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
12
12
|
**namespace** | **String** | |
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
20
|
-
pulp_href: null,
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
|
21
20
|
pulp_created: null,
|
21
|
+
artifact: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
@@ -5,13 +5,15 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | |
|
8
|
+
**metadata_sha256** | **String** | | [optional] [readonly]
|
8
9
|
|
9
10
|
## Code Sample
|
10
11
|
|
11
12
|
```ruby
|
12
13
|
require 'PulpAnsibleClient'
|
13
14
|
|
14
|
-
instance = PulpAnsibleClient::CollectionNamespaceResponse.new(name: null
|
15
|
+
instance = PulpAnsibleClient::CollectionNamespaceResponse.new(name: null,
|
16
|
+
metadata_sha256: null)
|
15
17
|
```
|
16
18
|
|
17
19
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**id** | **String** | |
|
8
8
|
**name** | **String** | |
|
9
|
-
**href** | **String** |
|
9
|
+
**href** | **String** | | [optional] [readonly]
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
data/docs/CollectionResponse.md
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**href** | **String** |
|
7
|
+
**href** | **String** | | [optional] [readonly]
|
8
8
|
**namespace** | **String** | | [optional] [readonly]
|
9
9
|
**name** | **String** | | [optional] [readonly]
|
10
|
-
**deprecated** | **Boolean** |
|
11
|
-
**versions_url** | **String** |
|
12
|
-
**highest_version** | [**Object**](.md) |
|
13
|
-
**created_at** | **DateTime** |
|
14
|
-
**updated_at** | **DateTime** |
|
10
|
+
**deprecated** | **Boolean** | | [optional] [readonly]
|
11
|
+
**versions_url** | **String** | | [optional] [readonly]
|
12
|
+
**highest_version** | [**Object**](.md) | | [optional] [readonly]
|
13
|
+
**created_at** | **DateTime** | | [optional] [readonly]
|
14
|
+
**updated_at** | **DateTime** | | [optional] [readonly]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# PulpAnsibleClient::CollectionSummaryResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**namespace** | **String** | The namespace of the collection. | [optional] [readonly]
|
9
|
+
**name** | **String** | The name of the collection. | [optional] [readonly]
|
10
|
+
**version** | **String** | The version of the collection. | [optional] [readonly]
|
11
|
+
**requires_ansible** | **String** | The version of Ansible required to use the collection. Multiple versions can be separated with a comma. | [optional] [readonly]
|
12
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
|
+
**contents** | [**Object**](.md) | A JSON field with data about the contents. | [optional] [readonly]
|
14
|
+
**dependencies** | [**Object**](.md) | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional] [readonly]
|
15
|
+
**description** | **String** | A short summary description of the collection. | [optional] [readonly]
|
16
|
+
**tags** | [**Array<AnsibleTagResponse>**](AnsibleTagResponse.md) | | [optional] [readonly]
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'PulpAnsibleClient'
|
22
|
+
|
23
|
+
instance = PulpAnsibleClient::CollectionSummaryResponse.new(pulp_href: null,
|
24
|
+
namespace: null,
|
25
|
+
name: null,
|
26
|
+
version: null,
|
27
|
+
requires_ansible: null,
|
28
|
+
pulp_created: null,
|
29
|
+
contents: null,
|
30
|
+
dependencies: null,
|
31
|
+
description: null,
|
32
|
+
tags: null)
|
33
|
+
```
|
34
|
+
|
35
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpAnsibleClient::CollectionVersionCopyMove
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**collection_versions** | **Array<String>** | A list of collection versions to move or copy. |
|
8
|
+
**destination_repositories** | **Array<String>** | List of repository HREFs to put content in. |
|
9
|
+
**signing_service** | **String** | HREF for a signing service. This will be used to sign the collection before moving putting it in any new repositories. | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpAnsibleClient'
|
15
|
+
|
16
|
+
instance = PulpAnsibleClient::CollectionVersionCopyMove.new(collection_versions: null,
|
17
|
+
destination_repositories: null,
|
18
|
+
signing_service: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -5,10 +5,11 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**version** | **String** | | [optional] [readonly]
|
8
|
-
**href** | **String** |
|
8
|
+
**href** | **String** | | [optional] [readonly]
|
9
9
|
**created_at** | **DateTime** | |
|
10
10
|
**updated_at** | **DateTime** | |
|
11
11
|
**requires_ansible** | **String** | | [optional]
|
12
|
+
**marks** | **Array<String>** | | [optional] [readonly]
|
12
13
|
|
13
14
|
## Code Sample
|
14
15
|
|
@@ -19,7 +20,8 @@ instance = PulpAnsibleClient::CollectionVersionListResponse.new(version: null,
|
|
19
20
|
href: null,
|
20
21
|
created_at: null,
|
21
22
|
updated_at: null,
|
22
|
-
requires_ansible: null
|
23
|
+
requires_ansible: null,
|
24
|
+
marks: null)
|
23
25
|
```
|
24
26
|
|
25
27
|
|
@@ -5,19 +5,20 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**version** | **String** | | [optional] [readonly]
|
8
|
-
**href** | **String** |
|
8
|
+
**href** | **String** | | [optional] [readonly]
|
9
9
|
**created_at** | **DateTime** | |
|
10
10
|
**updated_at** | **DateTime** | |
|
11
11
|
**requires_ansible** | **String** | | [optional]
|
12
|
+
**marks** | **Array<String>** | | [optional] [readonly]
|
12
13
|
**artifact** | [**ArtifactRefResponse**](ArtifactRefResponse.md) | | [optional] [readonly]
|
13
14
|
**collection** | [**CollectionRefResponse**](CollectionRefResponse.md) | | [optional] [readonly]
|
14
|
-
**download_url** | **String** |
|
15
|
+
**download_url** | **String** | | [optional] [readonly]
|
15
16
|
**name** | **String** | | [optional] [readonly]
|
16
17
|
**namespace** | [**CollectionNamespaceResponse**](CollectionNamespaceResponse.md) | | [optional] [readonly]
|
17
18
|
**signatures** | **String** | | [optional] [readonly]
|
18
19
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
|
19
|
-
**git_url** | **String** |
|
20
|
-
**git_commit_sha** | **String** |
|
20
|
+
**git_url** | **String** | | [optional] [readonly]
|
21
|
+
**git_commit_sha** | **String** | | [optional] [readonly]
|
21
22
|
**manifest** | [**Object**](.md) | A JSON field holding MANIFEST.json data. | [optional] [readonly]
|
22
23
|
**files** | [**Object**](.md) | A JSON field holding FILES.json data. | [optional] [readonly]
|
23
24
|
|
@@ -31,6 +32,7 @@ instance = PulpAnsibleClient::CollectionVersionResponse.new(version: null,
|
|
31
32
|
created_at: null,
|
32
33
|
updated_at: null,
|
33
34
|
requires_ansible: null,
|
35
|
+
marks: null,
|
34
36
|
artifact: null,
|
35
37
|
collection: null,
|
36
38
|
download_url: null,
|